—UPGRADE TO THE ISSUE 

So I tried the Pagent to load the ssh key.. I can login through putty without even enter my passphrase and through command prompt using plink command. But when i am trying to login to X2Go without entering the path to the openssh key format, but just checking :try autologin", x2go crashes without giving an error message. 

I also tried the --debug command and this is what i get: 
"C:\Program Files (x86)\x2goclient>x2goclient.debug.exe --debug
x2go-INFO-1> "Starting X2Go Client 4.1.2.2..."
x2go-WARNING-1> English language requested, not loading translator.
x2go-WARNING-1> English language requested, not loading translator.
x2go-DEBUG-../src/onmainwindow.cpp:10779> Getting X.OrgServer settings.
x2go-INFO-3> "Started X2Go Client."
x2go-DEBUG-../src/onmainwindow.cpp:575> "$HOME=C:/Users/demym"
x2go-DEBUG-../src/onmainwindow.cpp:2266> Reading 3 sessions from config file.
x2go-DEBUG-../src/sessionbutton.cpp:361> Creating QPixmap with session icon: ":/img/icons/128x128/x2gosession.png".
x2go-DEBUG-../src/sessionbutton.cpp:361> Creating QPixmap with session icon: ":/img/icons/128x128/x2gosession.png".
x2go-DEBUG-../src/sessionbutton.cpp:361> Creating QPixmap with session icon: ":/img/icons/128x128/x2gosession.png".
x2go-DEBUG-../src/onmainwindow.cpp:13290> libssh not initialized yet. Initializing.
x2go-DEBUG-../src/pulsemanager.cpp:369> pulseaudio --version returned:"pulseaudio 13.0
"

x2go-DEBUG-../src/onmainwindow.cpp:10682> Starting helper servers for Windows ...
x2go-DEBUG-../src/onmainwindow.cpp:10849> "/cygdrive/C/Users/demym/.x2go/var" cygwin var path
x2go-DEBUG-../src/onmainwindow.cpp:10937> "C:/Users/demym/.x2go/etc/sshd_config created."
x2go-DEBUG-../src/onmainwindow.cpp:10344> Resolved localhost.
x2go-DEBUG-../src/pulsemanager.cpp:227> pulse started with arguments ("--exit-idle-time=-1", "-n", "-F", "C:\Users\demym\.x2go\pulse\config.pa", "-p", "C:\Program Files (x86)\x2goclient\pulse\lib\pulse-13.0\modules", "--log-level=debug", "--verbose", "--log-target=file:C:\Users\demym\.x2go\pulse\pulse.log") - waiting for it to finish...
x2go-DEBUG-../src/onmainwindow.cpp:10366> Port is free: 7022
x2go-DEBUG-../src/onmainwindow.cpp:11288> Logging cygwin sshd to: "C:/Users/demym/.x2go/sshLogs/p12276.log"
x2go-DEBUG-../src/onmainwindow.cpp:11302> Creating desktop: x2go_demym
x2go-DEBUG-../src/onmainwindow.cpp:10344> Resolved localhost.
x2go-DEBUG-../src/onmainwindow.cpp:2752> Creating QPixmap with session icon: '":/img/icons/128x128/x2gosession.png"'.
x2go-DEBUG-../src/onmainwindow.cpp:2819> Starting session via Smart Card, SSH Agent or Kerberos token.
x2go-INFO-8> "Starting connection to server: 150.140.177.100:22"
x2go-DEBUG-../src/onmainwindow.cpp:2853> Starting new ssh connection to server:"150.140.177.100":"22" krbLogin: false
x2go-DEBUG-../src/sshmasterconnection.cpp:168> SshMasterConnection, host "150.140.177.100"; port 22; user "geneticslab"; useproxy false; proxyserver ""; proxyport 22
x2go-DEBUG-../src/sshmasterconnection.cpp:248> Starting SSH connection without Kerberos authentication.
x2go-DEBUG-../src/sshmasterconnection.cpp:250> SshMasterConnection, instance SshMasterConnection(0x4791c48)  created.
x2go-DEBUG-../src/sshmasterconnection.cpp:495> SshMasterConnection, instance SshMasterConnection(0x4791c48)  entering thread.
x2go-DEBUG-../src/sshmasterconnection.cpp:575> Setting SSH directory to C:/Users/demym/ssh
x2go-DEBUG-../src/sshmasterconnection.cpp:797> Session port before config file parse: 22
x2go-DEBUG-../src/sshmasterconnection.cpp:807> Session port after config file parse: 22
x2go-DEBUG-../src/onmainwindow.cpp:10372> Port already in use: 7022
x2go-DEBUG-../src/onmainwindow.cpp:10344> Resolved localhost.
x2go-DEBUG-../src/onmainwindow.cpp:10372> Port already in use: 7022
x2go-DEBUG-../src/onmainwindow.cpp:11399> User mode OpenSSH server started successfully.
x2go-DEBUG-../src/sshmasterconnection.cpp:870> Session port before config file parse (part 2): 22
x2go-DEBUG-../src/sshmasterconnection.cpp:880> Session port after config file parse (part 2): 22
x2go-DEBUG-../src/sshmasterconnection.cpp:904> cserverAuth
x2go-DEBUG-../src/sshmasterconnection.cpp:943> state: 1

x2go-DEBUG-../src/sshmasterconnection.cpp:676> Setting SSH directory to C:/Users/demym/ssh
QObject::killTimers: timers cannot be stopped from another thread

C:\Program Files (x86)\x2goclient>"

I even downgraded to the previous version (I saw a post that helped other people) but it was the same for me.. 

Thank you so much for your time!!

Best regards,
Dimitra Mitsoudi. 

On 9 Nov 2024, at 19:52, Dimitra Mitsoudi <demymi7@gmail.com> wrote:



Dear X2Go Support Team,

I hope this message finds you well. I am reaching out to seek assistance with an authentication issue I am experiencing with the X2Go client on my Windows machine.

I am using X2Go Client to enter a linux server using SSH key authentication. However, I encountered an issue where, after providing my SSH key passphrase and successfully logging in, I was prompted for a password once more. This second prompt seems unnecessary, as I am using key-based authentication that works flawlessly through the Command Prompt. SSH keys are for passwordless login in servers.

The command I am using through Command Prompt is "ssh username@ipaddress" and it works just as fine, without asking for an extra password (just the passphrase).

Could you help me with this?

Thank you very much for your time and assistance!

Best regards, 

Dimitra Mitsoudi.