coffee_cn

博客园 首页 新随笔 联系 订阅 管理

SSH信任关系(machine A自动登录machin B)
--实际上就是利用公钥登录。

machine A

#ssh-keygen -t rsa

#scp .ssh/id_rsa.pub to machin B

machin B

#cat id_rsa.pub >>.ssh/authorized_keys

#chmod 644 authorized_keys

posted on 2009-11-09 10:26  coffee  阅读(238)  评论(0编辑  收藏  举报