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

martin

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).
attewell

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