Could the problem be something else? Adding the old algorithm to the configuration did not help me.
Example in config
Host old-host
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa
And try with cli options
ssh -vvv -X -oPubkeyAcceptedAlgorithms=+ssh-rsa -oHostkeyAlgorithms=+ssh-rsa dual
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug3: order_hostkeyalgs: no algorithms matched; accept original
debug3: send packet: type 20
debug1: SSH2_MSG_KEXINIT sent
Could the problem be something else? Adding the old algorithm to the configuration did not help me.
Example in config rithms +ssh-rsa tedAlgorithms +ssh-rsa
Host old-host
HostkeyAlgo
PubkeyAccep
And try with cli options dAlgorithms= +ssh-rsa -oHostkeyAlgori thms=+ssh- rsa dual ssh_known_ hosts2: No such file or directory
ssh -vvv -X -oPubkeyAccepte
debug1: load_hostkeys: fopen /etc/ssh/
debug3: order_hostkeyalgs: no algorithms matched; accept original
debug3: send packet: type 20
debug1: SSH2_MSG_KEXINIT sent