vim /etc/ssh/sshd_config

#找不到匹配的host key算法
HostKeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa 

# 允许root用户登陆
PermitRootLogin yes
PasswordAuthentication yes