当前位置: 云海天教程网 > 技术新闻 > 编程语言 > 正文 ssh到centos主机 作者: 佚名 来源: 网络转载 时间:2020-03-06 Port 22 AddressFamily any ListenAddress 0.0.0.0 ListenAddress :: PermitRootLogin yes RSAAuthentication yes PubkeyAuthentication yes 配置ssh-id ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host ssh root@remote-host