跳板机避免重复密码

 .>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

原文地址:https://www.cnblogs.com/liuchuanwu/p/4654361.html