Topic "Connection has been unexpectedly closed. Server sent command exit status 0."

Author Message
naren54783
[View user's profile]

Joined: 2014-12-22
Posts: 6
Location: Narendra Patel
We are getting an intermittent error as "WinSCP.SessionRemoteException: Connection has been unexpectedly closed. Server sent command exit status 0.
---> WinSCP.SessionRemoteException: Authentication log (see session log for details): Using username "xyz". Access denied.
Authentication failed."

After sometime the same user is able to access and can perform the operations.

We check our credentials and is all correct.


Can someone please help me?


WinSCP Version 5.5.6(Build 4746).
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Did you check the server-side log, if there is any information why the server rejected the login?
naren54783
[View user's profile]

Joined: 2014-12-22
Posts: 6
Location: Narendra Patel
prikryl wrote:
Did you check the server-side log, if there is any information why the server rejected the login?



I checked the server logs and it says "failed to sign on : Incorrect password." Same code is working most of the time but intermittent its failing.
All the connection information is stored on database.

Please let me know if you have any idea on this.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Enable password logging and make sure that the same password is used all the time.

Code:
session.AddRawConfiguration(@"Logging\LogSensitive", "1");
Advertisements

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License