文章目录 在128上生成密钥对。 ssh-keygen -t rsa 将128的公钥复制到129的公钥清单中,需要输入一次密码。 ssh-copy-id root@192.168.150.129 -p 22 目标达成,再ssh时就不需要输入密码了。 流程总结。