Add note about "no matching host key type" error

This commit is contained in:
RealStickman 2023-01-05 12:44:10 +01:00
parent 9dff9c45b5
commit a8a3f5de59

View File

@ -39,6 +39,16 @@ no -> Only allow ssh keys
On OpenBSD also set `KbdInteractiveAuthentication` to `no`
## Options
### No matching host key type found
Full error message:
`Unable to negotiate with <host> port <port>: no matching host key type found. Their offer: <comma separated list of host keys>`
This happens, when a host key is used that has been deprecated in the locally installed ssh client.
Use the option `-oHostKeyAlgorithms=+<host key type>` with ssh to connect regardless.
## Windows Server
Open PowerShell as administrator
`Add-WindowsCapability -Online -Name OpenSSH.Server`