(1)首先保证两台虚拟机之间能互ping成功
1.png
(2)本机打:ssh-keygen
ssh-keygen
2.png
(3) ssh-copy-id root@192.168.19.10
ssh-copy-id root@192.168.19.10
3.png
(4)然后即可免密登陆
4.png
(1)首先保证两台虚拟机之间能互ping成功
(2)本机打:ssh-keygen
ssh-keygen
2.png
(3) ssh-copy-id root@192.168.19.10
ssh-copy-id root@192.168.19.10
3.png
(4)然后即可免密登陆
本文标题:Linux主机间免密登录正常
本文链接:https://www.haomeiwen.com/subject/ocdoyktx.html
网友评论