<div dir="auto">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?<div dir="auto"><br></div><div dir="auto">Make sure you have the newest available x2goclient, maybe try to recompile with a newer libssh.<div dir="auto"><br></div><div dir="auto">Uli</div><div dir="auto"><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Jon Forrest <<a href="mailto:nobozo@gmail.com">nobozo@gmail.com</a>> schrieb am Mo., 29. Apr. 2024, 02:39:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 4/28/2024 2:54 AM, Ulrich Sibiller wrote:<br>
<br>
> Not directly, but libssh (partly) read your ssh config. So you can<br>
> add a host stanza with the settings for your destination host<br>
> there.<br>
<br>
Are you quite sure? With the following in my ssh config file<br>
<br>
Host <a href="http://example.com" rel="noreferrer noreferrer" target="_blank">example.com</a><br>
PubkeyAcceptedAlgorithms +ssh-rsa<br>
HostKeyAlgorithms=+ssh-rsa<br>
<br>
I can run ssh on the command line successfully but trying to start an x2go<br>
session results in<br>
<br>
kex error : no match for method server host key algo: server [ssh-rsa,ssh-dss], client [rsa-sha2-512,rsa-sh<br>
a2-256,ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,<a href="mailto:sk-ssh-ed25519@openssh.com" target="_blank" rel="noreferrer">sk-ssh-ed25519@openssh.com</a>,s<br>
<a href="mailto:k-ecdsa-sha2-nistp256@openssh.com" target="_blank" rel="noreferrer">k-ecdsa-sha2-nistp256@openssh.com</a>]<br>
<br>
Does x2go actually use the system ssh executable (e.g. /usr/bin/ssh)?<br>
The reason I'm asking is because I did an experiment and renamed<br>
ssh to xxx. I got the same result, shown above, when running the x2goclient!<br>
This was a surprise.<br>
<br>
Thanks,<br>
Jon<br>
<br>
<br>
> Jon Forrest <<a href="mailto:nobozo@gmail.com" target="_blank" rel="noreferrer">nobozo@gmail.com</a> <mailto:<a href="mailto:nobozo@gmail.com" target="_blank" rel="noreferrer">nobozo@gmail.com</a>>> schrieb am<br>
> Sa., 27. Apr. 2024, 20:30:<br>
> <br>
> Due to reasons too sad to describe, I need to X2go from a modern<br>
> Fedora 40 system to a Ubuntu 10.04 (!) system.<br>
> <br>
> Running ssh from the command line fails with the message<br>
> <br>
> Unable to negotiate with XX.XX.XX.XX port 22: no matching host key<br>
> type found. Their offer: ssh-rsa,ssh-dss<br>
> <br>
> After some work I got this to work by adding<br>
> <br>
> -oHostKeyAlgorithms=+ssh-rsa -oPubkeyAcceptedAlgorithms=+ssh-rsa<br>
> <br>
> to the ssh command line.<br>
> <br>
> My question is how can I add these options to the ssh command that<br>
> X2go executes on the client?<br>
> <br>
> Cordially, Jon Forrest <br>
> _______________________________________________ x2go-user mailing<br>
> list <a href="mailto:x2go-user@lists.x2go.org" target="_blank" rel="noreferrer">x2go-user@lists.x2go.org</a> <mailto:<a href="mailto:x2go-user@lists.x2go.org" target="_blank" rel="noreferrer">x2go-user@lists.x2go.org</a>> <br>
> <a href="https://lists.x2go.org/listinfo/x2go-user" rel="noreferrer noreferrer" target="_blank">https://lists.x2go.org/listinfo/x2go-user</a><br>
> <<a href="https://lists.x2go.org/listinfo/x2go-user" rel="noreferrer noreferrer" target="_blank">https://lists.x2go.org/listinfo/x2go-user</a>><br>
> <br>
</blockquote></div>