Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


Re: GSSAPI authentication only works for first session

Does this happen for second parallel connection only or even for second consecutive? I assume that restarting WinSCP helps, right?

GSSAPI authentication only works for first session

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