key type ssh-rsa not in PubkeyAcceptedAlgorithms

key type ssh-rsa not in PubkeyAcceptedAlgorithms

SSH  无法登录 ,错误信息: key type ssh-rsa not in PubkeyAcceptedAlgorithms

竟然不支持 ssh-rsa

echo "PubkeyAcceptedKeyTypes=+ssh-rsa" >>/etc/ssh/sshd_config