My customer has a legacy (old) SFTP client application that is used to upload files to an Ubuntu Server. Using version 20.04 LTS on the server this works just fine. However testing this to a 22.04 LTS server the connection fails and the server reports the following log message:
sshd[1490]: Unable to negotiate with XXX.XXX.XXX.XXX port 59993: no matching host key type found. Their offer: ssh-rsa,ssh-dss [preauth]
I can connect with other clients (such as FileZilla) from the same client devices using the same credentials so I'm sure the issue is localized to the legacy client application.
I'm guessing that this issue is due to ssh-rsa being disabled by default in 22.04? I'm aware of the security issues, however in this case of I have no way to touch anything at the client end since the client is heavily integrated into their workflow.
Is there anyway to "re-enable" the support for SFTP that existed in 20.04 LTS at the server end? If so can you give me some guidance on the necessary steps.
Thanks in advance.
man sshd_config
, see "AuthenticationMethods
" On the client,ssh -v user@server
will show theAuthenticationMethods
offered by server and client. – waltinator Jun 28 '22 at 16:47ssh-rsa is now disabled by default in OpenSSH 357. See bug 1961833 203 to learn how to selectively re-enable it if necessary.
The re-enablement instructions only seem to relate to ssh client not sshd server however Has anyone got any idea how to re-enable rsa-ssh support on 22.04 server?
– presto Jul 08 '22 at 18:04sshd
server. – user68186 Aug 23 '22 at 15:52