/ Published in: Bash
I use this to quickly (in one line) copy my own id_rsa.pub to remote server so I can connect w/out using my password.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
cat ~/.ssh/id_rsa.pub | ssh user@server.com 'cat >> .ssh/authorized_keys'
URL: http://linuxproblem.org/art_9.html