home ‣ Password-less authentication with ssh
| 24 Feb 2009 · Tags: ssh | ← newer • 32 of 588 • older → |
Short version:
- generate public and private key (e.g. with
ssh-keygen -q -f ~/.ssh/id_rsa -t rsa) (or-t dsa) - on the machine from which you connect: put private key in ~/.ssh/id_rsa (for rss key) or ~/.ssh/id_dsa (for dsa key), with 0600 permissions
- on the machine you connect to: append public key to
~/.ssh/authorized_keys(this file should also have 0600 permission)
You can read long version
blog comments powered by Disqus