现在的位置: 首页 > 综合 > 正文

ssh记住远程登录密码

2012年05月27日 ⁄ 综合 ⁄ 共 219字 ⁄ 字号 评论关闭

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

抱歉!评论已关闭.