Hello,
setup is the following
When I trigger the release in the GUI of x2goclient, the logs say:
on x2goclienton x2goserverTerminal-Output of x2goclient --debug --libssh-debug on x2goclientI then tried to reach the client from the x2goserver via SSH through the SSH tunnel that was set up:This generates a message in the x2goclient log -- so the tunnel back to the client has been set up, but the temporary SSH key is no longer available. A login with the password of clientuser is not possible.
x2go's sshd on x2goclient is running:The specific sshd_config looks like this: An internet search reveals that there used to be a bug in x2gomountdirs in a five year old version of x2go, but the x2go at Bookworm is much newer.
On the x2go mailing list I will probably be told to use the latest version of x2go, but I would like to stick with the version in the package sources.
Hence the question: Does anyone have any idea what else I could try?
setup is the following
- x2goserver on a computer behind a rounter with portforwarding and dyndns
- x2goclient on a computer behind another router
When I trigger the release in the GUI of x2goclient, the logs say:
on x2goclient
Code:
Nov 06 00:00:02 x2go /usr/bin/x2gomountdirs[295124]: insertion of shared folder into session DB has been successfulNov 06 00:00:02 x2go /usr/bin/x2gomountdirs[295124]: SSH key file has arrived: /home/serveruser/.x2go/ssh/key.cicFLiNov 06 00:00:02 x2go /usr/bin/x2gomountdirs[295124]: SSH host key has arrived: /home/serveruser/.x2go/ssh/key.cicFLi.identNov 06 00:00:02 x2go /usr/bin/x2gomountdirs[295124]: executing: timeout 30 sshfs -o modules=iconv,from_code=UTF-8,to_code=UTF-8 -o idmap=user,uid=`id -u`,gid=`id -g`,default_permissions,ServerAliveInterval=300,IdentityFile=/home/serveruser/.x2go/ssh/key.cicFLi,UserKnownHostsFile=/home/serveruser/.x2go/ssh/key.cicFLi.ident "clientuser"@127.0.0.1:"/home/clientuser/Desktop" "/tmp/.x2go-serveruser/media/disk/_home_clientuser_Desktop" -p 53200Nov 06 00:00:03 x2go /usr/bin/x2gomountdirs[295124]: WARNING: mounting of /home/clientuser/Desktop failed
Code:
Nov 06 00:00:02 kweezy sshd[244865]: error: kex_exchange_identification: Connection closed by remote hostNov 06 00:00:02 kweezy sshd[244865]: Connection closed by 127.0.0.1 port 52856Nov 06 00:00:03 kweezy sshd[244871]: Failed password for clientuser from 127.0.0.1 port 52872 ssh2Nov 06 00:00:03 kweezy sshd[244871]: Failed password for clientuser from 127.0.0.1 port 52872 ssh2Nov 06 00:00:03 kweezy sshd[244871]: Connection closed by authenticating user clientuser 127.0.0.1 port 52872 [preauth]
Code:
x2go-DEBUG-../src/sshmasterconnection.cpp:2121> EOF on channel 0x7f7ed4064930; SshProcess object: 4x2go-DEBUG-../src/sshmasterconnection.cpp:2222> EOF sent.x2go-DEBUG-../src/sshmasterconnection.cpp:2224> Channel closed.x2go-DEBUG-../src/sshmasterconnection.cpp:2165> EOF on channel 0x7f7ed40586c0; SshProcess object: 17x2go-DEBUG-../src/sshmasterconnection.cpp:2222> EOF sent.x2go-DEBUG-../src/sshmasterconnection.cpp:2224> Channel closed.x2go-DEBUG-../src/sshprocess.cpp:532> SSH finished: raw output (stdout): "X2GODATABEGIN:d396bc9c-fce4-420a-9c3a-b405fddfc022\ndirs:/home/clientuser/Desktop__REVERSESSH_PORT__53200\nssh port:53200\nHost:127.0.0.1\nUser:clientuser\ninserted, timeout 30 sshfs -o modules=iconv,from_code=UTF-8,to_code=UTF-8 -o idmap=user,uid=`id -u`,gid=`id -g`,default_permissions,ServerAliveInterval=300,IdentityFile=/home/serveruser/.x2go/ssh/key.cicFLi,UserKnownHostsFile=/home/serveruser/.x2go/ssh/key.cicFLi.ident \"clientuser\"@127.0.0.1:\"/home/clientuser/Desktop\" \"/tmp/.x2go-serveruser/media/disk/_home_clientuser_Desktop\" -p 53200\nX2GODATAEND:d396bc9c-fce4-420a-9c3a-b405fddfc022\n"x2go-DEBUG-../src/sshprocess.cpp:543> SSH finished: true - "dirs:/home/clientuser/Desktop__REVERSESSH_PORT__53200\nssh port:53200\nHost:127.0.0.1\nUser:clientuser\ninserted, timeout 30 sshfs -o modules=iconv,from_code=UTF-8,to_code=UTF-8 -o idmap=user,uid=`id -u`,gid=`id -g`,default_permissions,ServerAliveInterval=300,IdentityFile=/home/serveruser/.x2go/ssh/key.cicFLi,UserKnownHostsFile=/home/serveruser/.x2go/ssh/key.cicFLi.ident \"clientuser\"@127.0.0.1:\"/home/clientuser/Desktop\" \"/tmp/.x2go-serveruser/media/disk/_home_clientuser_Desktop\" -p 53200\n" (17).x2go-DEBUG-../src/onmainwindow.cpp:8895> Post-cleanup for startX2goMount triggered.x2go-DEBUG-../src/onmainwindow.cpp:8920> Deactivating public key from "/home/clientuser/.x2go/ssh/gen/key.cicFLi.pub" again.
Code:
serveruser@x2goserver:~$ ssh clientuser@127.0.0.1 -p 53200 -i /home/serveruser/.x2go/ssh/key.cicFLiWarning: Identity file /home/serveruser/.x2go/ssh/key.WEIIYY not accessible: No such file or directory.clientuser@127.0.0.1's password:
x2go's sshd on x2goclient is running:
Code:
clientuser@x2goclient:~$ px aux | grep sshdclientuser 237626 0.0 0.0 15680 9496 pts/6 S+ Nov05 0:00 sshd: /usr/sbin/sshd -f /home/clientuser/.x2go/etc/sshd_config -h /home/clientuser/.x2go/etc/ssh_host_rsa_key -D -p 7022 [listener] 0 of 10-100 startups
Code:
StrictModes noUsePrivilegeSeparation noPidFile "/home/clientuser/.x2go/var/sshd.pid"AuthorizedKeysFile "/home/clientuser/.x2go/.ssh/authorized_keys"Subsystem sftp /usr/lib/openssh/sftp-server
On the x2go mailing list I will probably be told to use the latest version of x2go, but I would like to stick with the version in the package sources.
Hence the question: Does anyone have any idea what else I could try?
Statistics: Posted by IlikeBörek — 2024-11-06 09:28