Recently, the SSH service connection suddenly appears no matching host key type found. Their offer: SSH DSS
there has been no problem before
Possible causes
Openssh service upgrade, encryption algorithm support issues
Be careful of being mined (it has been possible before, but the new one can’t, mainly check the sshd service configuration)
General solution
On the algorithm of sshd
Command line add ssh -oHostKeyAlgorithms=+ssh-dss user@legacyhost
Add HostKeyAlgorithms +ssh-dss to the configuration~/.ssh/config
如下:
Host somehost.example.org
HostKeyAlgorithms +ssh-dss
Mining problems
The mining company likes to modify the sshd service, as well as some timed tasks, this can be checked with tools, or ssh configuration comparison, find to modify, pay attention to clear the
abnormal processes, clear timing tasks
Similar Posts:
- How to Solve network error: software caused connection abort (Step-by-step Tutorial)
- Too many authentication failures for root
- How to Fix Issue: SSH Server CBC Mode Ciphers Enabled
- SSH login error: no common Kex alg [How to Solve]
- Git OpenSSH Upgrade Error: Unable to negotiate with 47.98.49.44 port 22: no matching host key type found. Their offer: ssh-rsa
- Server 22 port connection timeout SSH: connect to host * * port 22: operation timed out
- When using SSH to log in to MySQL, Navicat reported an error: expected key exchange group packet from server
- Xshell remote SSH error: the server sent an unexpected packet. RECEIVED:3,EXPECTED:20
- An error is reported when starting sshd in the docker container
- Install a docker container in centos7 that can log in SSH