3 ms·
One thing the author is missing is the ssh-copy-id command, which will copy a ssh key to he authroized_keys file and set the correct permissions. No need for co
by rmc 15y ago
One thing the author is missing is the ssh-copy-id command, which will copy a ssh key to he authroized_keys file and set the correct permissions. No need for complicated and fragile ssh host "mkdir .." commands
I tried to leave a comment, but twas asking complicated things about registering.
- BrandonM 15y agoThanks for the suggestion... that is much simpler. I added that to the post. Sorry about commenting being so difficult; I'm using Posterous, so it's not by my design.
- Mad_Dud 15y agoIt's worth mentioning that ssh-copy-id might have problems with specifying port number. Here is workaround for that: $ ssh-copy-id ‘-p xx -i ~/.ssh/id_rsa.pub login@example.com’
- juddlyon 15y agoThank you! I've done this dozens of times and never knew, none of the tutorials I've looked up reference it.