Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'A shell script to upload SSH keys to remote machines' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A shell script to upload SSH keys to remote machines
Authored by: fungus on Sep 24, '07 02:42:32PM

There is no messy import/export in SSH keys between OSX, BSD, or Linux. They all use OpenSSH, which is the current defacto standard. All that's necessary is to copy the keys over.

When copying the keys it is absolutely critical that the permissions on the files are correct. SSH will ignore keys if permissions are too open. The .ssh directory should not be readable or writable by anyone but you.

drwx------  .ssh/
-rw-------  .ssh/authorized_keys
-rw-------  .ssh/id_dsa
-rw-r--r--  .ssh/

[ Reply to This | # ]