This page gives you basic information about using PuTTY and PuTTYgen to log in to your provisioned machine. For more information on PuTTY, see the PuTTY documentation |
---|
—— BEGIN SSH2 PUBLIC KEY
, it is in the wrong format. Be sure to follow the instructions carefully. Your key should start with ssh-rsa AAAA…
.C:Program FilesGitbinbash.exe
and press Enter.C:Usersjoetest.ssh
triton-docker
command line tool.ssh-add
utility, will list key fingerprints rather than the whole public key.rsa-key-20011212
. Another commonly used approach is to use your name and the name of the computer the key will be used on, such as simon@simons-pc
.www.diceware.com
) recommends using at least five words each generated randomly by rolling five dice, which gives over 2^64 possible passphrases and is probably not a bad scheme. If you want your passphrase to make grammatical sense, this cuts down the possibilities a lot and you should use a longer one as a result.*.PPK
); it is the one you will need to tell PuTTY to use for authentication (see section 4.23.8) or tell Pageant to load (see section 9.2.2).ssh.com
's) require a public key in this format in order to accept authentication with the corresponding private key. (Others, such as OpenSSH, use a different format; see section 8.2.10.)ssh.com
have different formats, and PuTTY's is different again. So a key generated with one client cannot immediately be used with another.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 (*.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 some OpenSSH key formats contained no space for a comment, and ssh.com
Generate ssh key on mac. 's default comment format is long and verbose.ssh.com
format. To do so, select one of the ‘Export’ options from the ‘Conversions’ menu. Exporting a key works exactly like saving it (see section 8.2.8) - you need to have typed your passphrase in beforehand, and you will be warned if you are about to save a key without a passphrase.ssh.com
's client, you can use it with PuTTY, and vice versa. Hence, the export options are not available if you have generated an SSH-1 key..ssh
directory under your home directory, and open the file authorized_keys
with your favourite editor. (You may have to create this file, if this is the first key you have put in it.) Then switch to the PuTTYgen window, select all of the text in the ‘Public key for pasting into OpenSSH authorized_keys file’ box (see section 8.2.10), and copy it to the clipboard (Ctrl+C
). Then, switch back to the PuTTY window and insert the data into the open file, making sure it ends up all on one line. Save the file.authorized_keys2
. In all current versions, the same authorized_keys
file is used for both SSH-1 and SSH-2 keys.) ssh.com
's product and is using SSH-2, you need to save a public key file from PuTTYgen (see section 8.2.9), and copy that into the .ssh2
directory on the server. Then you should go into that .ssh2
directory, and edit (or create) a file called authorization
. In this file you should put a line like Key mykey.pub
, with mykey.pub
replaced by the name of your key file..ssh
directory, and any other files involved (such as authorized_keys
, authorized_keys2
or authorization
) are not group-writable or world-writable; servers will typically ignore the keys unless this is done. You can typically do this by using a command such as-i
option. See section 3.8.3.18 for details.