What does the ssh-copy-id
command do, exactly? I've used it numerous times and it works great. However, when I try to manually cut and paste my .pub
key file to my remote authorized_keys
file, it doesn't work.
I've compared the contents of my authorized_keys
file where I've cut and pasted the .pub into it vs subsequently using ssh-copy-id
and I'm not seeing any differences between the two, including whitespace.
Is there anything that ssh-copy-id
does beyond copying the public key into authorized_keys
?
authorized_keys
are set up correctly? – Laytondiff
between your version and the automated version? The man page forssh-copy-id
doesn't say it does anything else. Plus,ssh-copy-id
is just an ordinary shell script so you could examine to see what it does. – Layton