Hi, after recent updates I have problems connecting with ssh with some remote hosts, ssh client terminate with this error:
Unable to negotiate with x.y.z.q port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss
I already found that -o option does the trick: -oHostKeyAlgorithms=+ssh-rsa
but having lots of servers to connect to I’d like a more general solution so I tried creating a ssh_config file in my ~/.ssh dir
Hi, have you tried adding them to /etc/ssh/ssh_config? Leap does not mind them (yet), so I cannot test it, but on ubuntu I came across this (stupid, but simple) solution You will have to modify keys your old systems do support, I use o[FONT=monospace]ld openwrt, which uses [FONT=monospace][FONT=monospace]+diffie-hellman-group1-sha1[/FONT].[/FONT][/FONT]
[FONT=monospace]alias oldssh="ssh -oKexAlgorithms=+diffie-hellman-group1-sha1"
oldssh me@wherever -p port
I already found that -o option does the trick: -oHostKeyAlgorithms=+ssh-rsa
but having lots of servers to connect to I’d like a more general solution so I tried creating a ssh_config file in my ~/.ssh dir
There was a change about rsa, see openssh-changelog.