Topic "GSSAPI authentication only works for first session"

Author Message
[View user's profile]

Joined: 2014-04-08
Posts: 1
Location: Jacksonville, FL
When performing GSSAPI/Kerberos authentication only the first session will connect without asking for a password. Subsequent sessions open to the same server will ask for a password.

To reproduce:

1) Connect to an SFTP server using GSSAPI authentication (it should not ask for your password).
2) Open a new session to the same server (ensure GSSAPI authentication is enabled). It will ask you for your password.

With "debug 2" logging enabled the (relevant) error in the second session is thus:

. 2014-04-08 10:06:19.626 GSSAPI authentication initialisation failed
. 2014-04-08 10:06:19.626 Unspecified GSS failure.  Minor code may provide more information Matching credential not found

Note that absolutely nothing was changed in the session settings between opening the first and second session. The entire (sanitized) log is attached
myuser@someserver.log (49.86 KB) Private file

Description: Debug 2 log of both sessions

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24759
Location: Prague, Czechia
Does this happen for second parallel connection only or even for second consecutive? I assume that restarting WinSCP helps, right?

You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License