这个错误是新版本openssh的特性,rsa类型密钥不在当前公钥识别类型中,导致无法连接。执行命令,然后重启sshd
1
2
echo "PubkeyAcceptedKeyTypes=+ssh-rsa" >>/etc/ssh/sshd_config
service sshd restart
-
Previous
Linux/fedora下通过WebDav挂载小雅 -
Next
Failed to switch root Specified switch root path '/sysroot' does not seem to be an 0S tree, os-release file is missing