赞
踩
scp或者ssh报错“no matching host key type found. Their offer: ssh-rsa,ssh-dss“
原因:OpenSSH 7.0以后的版本不再支持ssh-dss (DSA)算法,查看ssh版本:
ssh -V
解决办法:
ssh -oHostKeyAlgorithms=+ssh-dsa root@192.168.0.102
Host *
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。