1.update openssl
yum update openssl
2.修改openssl配置
vim /etc/ssh/sshd_config
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
3.重启ssh服务
servcie sshd restart
时间: 2024-10-12 15:36:22
1.update openssl
yum update openssl
2.修改openssl配置
vim /etc/ssh/sshd_config
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
3.重启ssh服务
servcie sshd restart