配置可信任的ssh(不用密码)

Setup passphraseless ssh
Now check that you can ssh to the localhost without a passphrase:
$ ssh localhost

If you cannot ssh to localhost without a passphrase, execute the following commands:
$ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa 
$ cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys

猜你喜欢

转载自kanpiaoxue.iteye.com/blog/1997762