/ Published in: Bash

So you don't have to type the password everytime you log in to that remote ssh server. Don't enter a passphrase when prompted, just hit enter. This example is for Mac OS X but is likely to work on *nix plats too.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
ssh-keygen -t rsa cat ~/.ssh/id_rsa.pub | ssh username@remoteserver "cat - >> /home/username/authorized_keys"
Comments
