ssh互信(免密码使用scp命令) a,b主机互信:a主机执行:ssh-keygen -t rsa #出现提示直接回车。ssh-copy-id -i /root/.ssh/id_rsa.pub '-p 22 192.168.1.148' #148为b主机ip。b主机执行:ssh-keygen -t rsassh-copy-id -i /root/.ssh/id_rsa.pub '- Linux 2023-11-16 30 点赞 0 评论 45 浏览