/ Published in: Bash
Run on your local box in a *nix environment. Allows you to ssh to server with out having to enter password every time.
Expand |
Embed | Plain Text
cat ~/.ssh/id_rsa.pub | ssh root@<host> "mkdir -p ~/.ssh; cat - >> ~/.ssh/authorized_keys"
You need to login to post a comment.
