[X2Go-User] How to Pass SSH Options From X2goclient?
Ulrich Sibiller
ulrich.sibiller at gmail.com
Mon Apr 29 07:50:34 CEST 2024
Well, that's why I wrote 'partly'. I simply don't know what keys libssh can
understand. Does it work if you leave out the host line and make these
options general ones?
Make sure you have the newest available x2goclient, maybe try to recompile
with a newer libssh.
Uli
Jon Forrest <nobozo at gmail.com> schrieb am Mo., 29. Apr. 2024, 02:39:
> On 4/28/2024 2:54 AM, Ulrich Sibiller wrote:
>
> > Not directly, but libssh (partly) read your ssh config. So you can
> > add a host stanza with the settings for your destination host
> > there.
>
> Are you quite sure? With the following in my ssh config file
>
> Host example.com
> PubkeyAcceptedAlgorithms +ssh-rsa
> HostKeyAlgorithms=+ssh-rsa
>
> I can run ssh on the command line successfully but trying to start an x2go
> session results in
>
> kex error : no match for method server host key algo: server
> [ssh-rsa,ssh-dss], client [rsa-sha2-512,rsa-sh
>
> a2-256,ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,
> sk-ssh-ed25519 at openssh.com,s
> k-ecdsa-sha2-nistp256 at openssh.com]
>
> Does x2go actually use the system ssh executable (e.g. /usr/bin/ssh)?
> The reason I'm asking is because I did an experiment and renamed
> ssh to xxx. I got the same result, shown above, when running the
> x2goclient!
> This was a surprise.
>
> Thanks,
> Jon
>
>
> > Jon Forrest <nobozo at gmail.com <mailto:nobozo at 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 at lists.x2go.org <mailto:x2go-user at lists.x2go.org>
> > https://lists.x2go.org/listinfo/x2go-user
> > <https://lists.x2go.org/listinfo/x2go-user>
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x2go.org/pipermail/x2go-user/attachments/20240429/ddbc360b/attachment.htm>
More information about the x2go-user
mailing list