ssh连接报错userauth_pubkey: key type ssh-dss not in PubkeyAcceptedKeyTypes [preauth]

解决办法:
vi /etc/ssh/sshd_config
最后一行添加:
PubkeyAcceptedKeyTypes=+ssh-dss
重启服务:
systemctl restart sshd

京ICP备11047313号-19
Scroll to Top