Failing to get Server to offer publickey as Authentication method?

Advertisement

attewell
Joined:
Posts:
1

Failing to get Server to offer publickey as Authentication method?

I have this problem connecting to server. it works at home but not at work.

I have turned on logging on WinSCP on server at work
! 2020-07-02 20:16:30.758 Using username "sshuser".
. 2020-07-02 20:16:30.789 Server offered these authentication methods: keyboard-interactive,password
. 2020-07-02 20:16:30.789 Attempting keyboard-interactive authentication
. 2020-07-02 20:16:30.805 Prompt (keyboard interactive, "SSH server: Password authentication", <no instructions>, "Password: ")
. 2020-07-02 20:16:30.805 Using stored password.

I installed WinSCP at home and same section from logs
! 2020-07-02 20:21:36.099 Using username "sshuser".
. 2020-07-02 20:21:36.116 Server offered these authentication methods: publickey,keyboard-interactive,password
. 2020-07-02 20:21:36.116 Attempting keyboard-interactive authentication
. 2020-07-02 20:21:36.131 Prompt (keyboard interactive, "SSH server: Password authentication", <no instructions>, "Password: ")
. 2020-07-02 20:21:36.131 Using stored password.

So is this a error on server side or my side?
I did also notice these extra lines at work.. is something on network side blocking?

. 2020-07-03 09:55:09.788 Detected network event
. 2020-07-03 09:55:09.788 Enumerating network events for socket 1464
. 2020-07-03 09:55:09.788 Enumerated 1 network events making 1 cumulative events for socket 1464
. 2020-07-03 09:55:09.788 Handling network read event on socket 1464 with error 0
. 2020-07-03 09:55:09.788 Waiting for the server to continue with the initialization

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,468
Location:
Prague, Czechia

Re: Failing to get Server to offer publickey as Authentication method?

Please attach complete log files.
Without complete logs, I can only guess: You are either connecting to different machines by mistake. Or the server is configured to accept public key only for external connections (unlikely).

Reply with quote

Advertisement

You can post new topics in this forum