WinSCP 5.5.6 error - Server refused our key (Connecting through a proxy server)
We are using c# winscp.net assembly.
We have set up the task scheduler job which runs every 10 minutes.
The task failed occassionally. The task failed because of this error
"Failed to login (1 time) <WinSCP.SessionRemoteException: Connection has been unexpectedly closed. Server sent command exit status 0. ---> WinSCP.SessionRemoteException: Authentication log (see session log for details): Using username "BTMUDEV". Server refused our key. Authentication failed. --- End of inner exception stack trace --- at WinSCP.SessionLogReader.Read(LogReadFlags flags) at WinSCP.ElementLogReader.Read(LogReadFlags flags) at WinSCP.CustomLogReader.TryWaitForNonEmptyElement(String localName, LogReadFlags flags) at WinSCP.CustomLogReader.WaitForNonEmptyElement(String localName, LogReadFlags flags) at WinSCP.Session.Open(SessionOptions sessionOptions) "
We are using the 5.5.6 version and this problem occurs in this version.
Any quick help will be highly appreciated.
Thank You,
We have set up the task scheduler job which runs every 10 minutes.
The task failed occassionally. The task failed because of this error
"Failed to login (1 time) <WinSCP.SessionRemoteException: Connection has been unexpectedly closed. Server sent command exit status 0. ---> WinSCP.SessionRemoteException: Authentication log (see session log for details): Using username "BTMUDEV". Server refused our key. Authentication failed. --- End of inner exception stack trace --- at WinSCP.SessionLogReader.Read(LogReadFlags flags) at WinSCP.ElementLogReader.Read(LogReadFlags flags) at WinSCP.CustomLogReader.TryWaitForNonEmptyElement(String localName, LogReadFlags flags) at WinSCP.CustomLogReader.WaitForNonEmptyElement(String localName, LogReadFlags flags) at WinSCP.Session.Open(SessionOptions sessionOptions) "
We are using the 5.5.6 version and this problem occurs in this version.
Any quick help will be highly appreciated.
Thank You,