no matching host key type found. Their offer: ssh-rsa,ssh-dss

soolan

Member
Joined
Jan 13, 2023
Messages
66
Reaction score
4
Credits
626
Hello

I get this error when I want to transfer files from my server to another server.

But I can transfer files to servers that I have never connected to. I moved the applications from my old server to this server and I made the same ip and hostname, could this be the problem?


Code:
scp file.dp  soolean@ip:/tmp/
Unable to negotiate with (IP) port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss
scp: Connection closed
 


I modified the sshd_config, but it didn't work. I compared it with my server that has all the same features, and everything is identical
 

Members online


Latest posts

Top