| KWLUG | Ten SSH Tricks | #13 |
Using public-key encryption with ssh:
eg: ssh1:
ssh-keygen -t rsa1
copy ~/.ssh/identity.pub to the end of the file ~/.ssh/authorized_keys
ssh2:
ssh-keygen -t rsa
copy ~/.ssh/id_rsa.pub to the end of the file ~/.ssh/authorized_keys2
Payoff: you can log in without typing a password! continued... |
| << Previous | Index | Next >> | Copyright © 2002 Daniel Allen |