Not directly, but libssh (partly) read your ssh config. So you can add a host stanza with the settings for your destination host there.
Uli
Jon Forrest <nobozo@gmail.com> schrieb am Sa., 27. Apr. 2024, 20:30:
Due to reasons too sad to describe, I need to X2go from a modern Fedora 40 system to a Ubuntu 10.04 (!) system.
Running ssh from the command line fails with the message
Unable to negotiate with XX.XX.XX.XX port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss
After some work I got this to work by adding
-oHostKeyAlgorithms=+ssh-rsa -oPubkeyAcceptedAlgorithms=+ssh-rsa
to the ssh command line.
My question is how can I add these options to the ssh command that X2go executes on the client?
Cordially, Jon Forrest
x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user