X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/63a890aafb819835bd68f072fcc62c9669d18d39..ae0500e538e2fb821ef1ad8529aed7999acf7a19:/doc/pubkey.but diff --git a/doc/pubkey.but b/doc/pubkey.but index 8a5ed1f0..8b9a3f95 100644 --- a/doc/pubkey.but +++ b/doc/pubkey.but @@ -1,4 +1,4 @@ -\versionid $Id: pubkey.but,v 1.20 2002/12/27 16:54:14 simon Exp $ +\versionid $Id: pubkey.but,v 1.22 2004/05/06 11:27:58 simon Exp $ \C{pubkey} Using public keys for SSH authentication @@ -280,9 +280,10 @@ Press the \q{Save private key} button. PuTTYgen will put up a dialog box asking you where to save the file. Select a directory, type in a file name, and press \q{Save}. -This file is the one you will need to tell PuTTY to use for -authentication (see \k{config-ssh-privkey}) or tell Pageant to load -(see \k{pageant-mainwin-addkey}). +This file is in PuTTY's native format (\c{*.PPK}); it is the one you +will need to tell PuTTY to use for authentication (see +\k{config-ssh-privkey}) or tell Pageant to load (see +\k{pageant-mainwin-addkey}). \S{puttygen-savepub} Saving your public key to a disk file @@ -364,12 +365,12 @@ another. Using the \q{Import} command from the \q{Conversions} menu, PuTTYgen can load SSH2 private keys in OpenSSH's format and \cw{ssh.com}'s format. Once you have loaded one of these key types, you can then -save it back out as a PuTTY-format key so that you can use it with -PuTTY. The passphrase will be unchanged by this process (unless you -deliberately change it). You may want to change the key comment -before you save the key, since OpenSSH's SSH2 key format contains no -space for a comment and \cw{ssh.com}'s default comment format is -long and verbose. +save it back out as a PuTTY-format key (\c{*.PPK}) so that you can use +it with the PuTTY suite. The passphrase will be unchanged by this +process (unless you deliberately change it). You may want to change +the key comment before you save the key, since OpenSSH's SSH2 key +format contains no space for a comment and \cw{ssh.com}'s default +comment format is long and verbose. PuTTYgen can also export private keys in OpenSSH format and in \cw{ssh.com} format. To do so, select one of the \q{Export} options @@ -418,10 +419,10 @@ that server. You may also need to ensure that your home directory, your \c{.ssh} directory, and any other files involved (such as \c{authorized_keys}, \c{authorized_keys2} or \c{authorization}) are -not group-writable. You can typically do this by using a command -such as +not group-writable or world-writable. You can typically do this by +using a command such as -\c chmod g-w $HOME $HOME/.ssh $HOME/.ssh/authorized_keys +\c chmod go-w $HOME $HOME/.ssh $HOME/.ssh/authorized_keys Your server should now be configured to accept authentication using your private key. Now you need to configure PuTTY to \e{attempt}