WinSCP 5.5.6 error - Server refused our key (Connecting through a proxy server)

Advertisement

viral.shah
Joined:
Posts:
3
Location:
Australia

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,

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,658
Location:
Prague, Czechia

Re: WinSCP 5.5.6 error - Server refused our key (Connecting through a proxy server)

viral.shah wrote:

Server refused our key
You have configured the key authentication incorrectly on the server.

Reply with quote

Guest

Thank You for the response.

The task runs every 10 minutes, 24 hrs a day for a month now. But we got this error on just one particular day within 2 hours of interval. I belive, If the key was incorrectly configured, It would not have worked at all. Isn't it?

Could there be any other reasons that We can get this error?

Thank You,
Viral

Reply with quote

Guest

Thanks for the reply again.

The error which we got is not "Server refused public-key signature despite accepting key". For this error, we already put the workaround and it fixed the problem.

This error is "Server refused our key (Connecting through a proxy server)". This error also occurred occassionally.

Any quick help will be highly appricieted.

Thank You,
Viral

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,658
Location:
Prague, Czechia

Did you consider upgrading your server? Your version seems pretty old.

Reply with quote

Advertisement

You can post new topics in this forum