|
ssh-copy-id
command..ssh
subdirectory of your account home directory. You may need to enable showing hidden files to see the directory. If the directory does not exists, you need to create it first.authorized_keys
for editing. Again you may have to create this file, if this is your first key.Ctrl+C
). Then, switch back to the editor and insert the data into the open file, making sure it ends up all on one line. Save the file. WinSCP can show you the public key too..ssh
directory and file authorized_keys
are not group-writable or world-writable. Recommended permissions for .ssh
directory are 700
. Recommended permissions for authorized_keys
files are 600
. Read more about changing permissions..ssh2
subdirectory of your account home directory.authorization
. In this file you should put a line like Key mykey.pub
, with mykey.pub
replaced by the name of your key file.