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: bendybendy on Sep 21, '07 10:57:36AM
if i know that the remote .ssh directory exists, I usually just type this one liner-

cat ~/.ssh/id_rsa.pub | ssh account@remoteserver.com "cat - >> .ssh/authorized_keys"


[ Reply to This | # ]