跳板机避免重复密码

 .>ssh-keygen -t rsa

Generating public/private rsa key pair.
Enter file in which to save the key (/home/ecwuliu/.ssh/id_rsa):

>scp ~/.ssh/id_rsa.pub root@10.175.183.246:/root/.ssh/authorized_keys

root@10.175.183.246's password:
id_rsa.pub           100% |********

>ssh root@10.175.183.246

posted @ 2015-07-17 14:21  刘传武  阅读(221)  评论(0编辑  收藏  举报