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.

Options
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)

Options

Topic review

anonagain

was this resolved?

if so, how?
martin

Re: Authentication fails with WinSCP.com but fine in GUI

Please email me a logs both from GUI and script.
ayman.alsairafi@...

Re: Authentication fails with WinSCP.com but fine in GUI

martin wrote:

So does it work with PSFTP?

It does. it is my workaround for now.
martin

Re: Authentication fails with WinSCP.com but fine in GUI

So does it work with PSFTP?
Ayman

Log for COM attempt

connection log attached.
Ayman

Authentication fails with WinSCP.com but fine in GUI

Using version 5.05, build 1782.
SFTP protocol on Win XP.
Connecting to HP NSK servers.

I can logon fine with pre-entered password in the GUI, but when using WinSCP.com for scripting, I get this below:

Authenticating...
Using username "xxxx.yyyy".
Authenticating with pre-entered password.
Connection has been unexpectedly closed. Server sent command exit status 0.
Authentication log (see session log for details):
Using username "xxxx.yyyy".

Authentication failed.

In the GUI the server responds with a message about last successful and unsuccessful attempts and number of failures and expects an OK. I verified this with psftp as well.