From Electron Cloud
Revision as of 12:38, 14 October 2008 by Ecloud (Talk | contribs) (New page: *[http://oreilly.com/pub/h/66 my usual reference for SSH key exchange] (As also noted further down on that page) here's a script to send your client machine's key to any server you wish t...)
(As also noted further down on that page) here's a script to send your client machine's key to any server you wish to be able to log in to, without a password (e.g. ~/bin/send-key):
#!/bin/sh cat ~/.ssh/id_rsa.pub | ssh -p 59721 root@${1} "cat - >> .ssh/authorized_keys2"