sshd配置 Posted on 2018-04-Tue Edited on 2018-04-Sun Views: Views: sudo vim /etc/ssh/sshd_config去掉注释:12345RSAAuthentication yes # 启用 RSA 认证PubkeyAuthentication yes # 启用公钥私钥配对认证方式AuthorizedKeysFile .ssh/authorized_keys # 公钥文件路径(和上面生成的文件同)/bin/systemctl restart sshd.service