The ssh target end reports an error no hostkey alg

a problem description

ssh 192.168.1.101, error:

no hostkey alg

Two solutions


Add a line to vi /etc/ssh/sshd_config :
HostKeyAlgorithms +ssh-rsa,ssh-dss

#Restart sshd service
service sshd restart

Supongo que te gusta

Origin blog.csdn.net/YABIGNSHI/article/details/129536932
Recomendado
Clasificación