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

rustyx

Not working with Win32-OpenSSH: Error skipping startup message.

Just followed this guide and can't login with WinSCP.
https://winscp.net/eng/docs/guide_windows_openssh_server

Error message: Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended).

Command line ssh and scp work fine.

Log file:

. 2017-02-04 10:51:58.135 --------------------------------------------------------------------------

. 2017-02-04 10:51:58.135 Using SCP protocol.
. 2017-02-04 10:51:58.135 Doing startup conversation with host.
. 2017-02-04 10:51:58.135 Session upkeep
. 2017-02-04 10:51:58.135 Looking for network events
. 2017-02-04 10:51:58.135 Detected network event
. 2017-02-04 10:51:58.135 Enumerating network events for socket 1604
. 2017-02-04 10:51:58.135 Enumerated 1 network events making 1 cumulative events for socket 1604
. 2017-02-04 10:51:58.135 Handling network read event on socket 1604 with error 0
. 2017-02-04 10:51:58.135 Received 38 bytes (0)
. 2017-02-04 10:51:58.135 Received 56 bytes (0)
. 2017-02-04 10:51:58.135 Received 2 bytes (0)
. 2017-02-04 10:51:58.135 Received 19 bytes (0)
. 2017-02-04 10:51:58.198 Skipping host startup message (if any).
> 2017-02-04 10:51:58.198 echo "WinSCP: this is end-of-file:0"
. 2017-02-04 10:51:58.198 Sent 37 bytes
. 2017-02-04 10:51:58.198 There are 0 bytes remaining in the send buffer
. 2017-02-04 10:51:58.198 Looking for network events
. 2017-02-04 10:51:58.198 Timeout waiting for network events
. 2017-02-04 10:51:58.198 Read 40 bytes (75 pending)
< 2017-02-04 10:51:58.198 Microsoft Windows [Version 10.0.14393]

. 2017-02-04 10:51:58.198 Read 54 bytes (21 pending)
< 2017-02-04 10:51:58.198 (c) 2016 Microsoft Corporation. All rights reserved.

. 2017-02-04 10:51:58.198 Read 2 bytes (19 pending)
< 2017-02-04 10:51:58.198

. 2017-02-04 10:51:58.198 Read 19 bytes (0 pending)
. 2017-02-04 10:51:58.198 Waiting for another 1 bytes
. 2017-02-04 10:51:58.198 Looking for incoming data
. 2017-02-04 10:51:58.198 Looking for network events
. 2017-02-04 10:51:58.198 Detected network event
. 2017-02-04 10:51:58.198 Enumerating network events for socket 1604
. 2017-02-04 10:51:58.198 Enumerated 1 network events making 1 cumulative events for socket 1604
. 2017-02-04 10:51:58.198 Handling network read event on socket 1604 with error 0
. 2017-02-04 10:51:58.198 Received 1 bytes (0)
. 2017-02-04 10:51:58.198 Received 12 bytes (0)
. 2017-02-04 10:51:58.198 Received 24 bytes (0)
. 2017-02-04 10:51:58.198 Read 1 bytes (36 pending)
. 2017-02-04 10:51:58.198 Read 36 bytes (0 pending)
< 2017-02-04 10:51:58.198 test@TEST C:\Users\test>echo "WinSCP: this is end-of-file:0"
. 2017-02-04 10:51:58.198 Waiting for another 1 bytes
. 2017-02-04 10:51:58.198 Looking for incoming data
. 2017-02-04 10:51:58.198 Looking for network events
. 2017-02-04 10:51:58.198 Detected network event
. 2017-02-04 10:51:58.198 Enumerating network events for socket 1604
. 2017-02-04 10:51:58.198 Enumerated 1 network events making 1 cumulative events for socket 1604
. 2017-02-04 10:51:58.198 Handling network read event on socket 1604 with error 0
. 2017-02-04 10:51:58.198 Received 37 bytes (0)
. 2017-02-04 10:51:58.198 Read 1 bytes (36 pending)
. 2017-02-04 10:51:58.198 Read 36 bytes (0 pending)
< 2017-02-04 10:51:58.198 echo "WinSCP: this is end-of-file:0"
. 2017-02-04 10:51:58.198 Waiting for another 1 bytes
. 2017-02-04 10:51:58.198 Looking for incoming data
. 2017-02-04 10:51:58.198 Looking for network events
. 2017-02-04 10:51:58.198 Detected network event
. 2017-02-04 10:51:58.198 Enumerating network events for socket 1604
. 2017-02-04 10:51:58.198 Enumerated 1 network events making 1 cumulative events for socket 1604
. 2017-02-04 10:51:58.198 Handling network read event on socket 1604 with error 0
. 2017-02-04 10:51:58.198 Received 33 bytes (0)
. 2017-02-04 10:51:58.198 Received 2 bytes (0)
. 2017-02-04 10:51:58.198 Received 19 bytes (0)
. 2017-02-04 10:51:58.198 Read 1 bytes (53 pending)
. 2017-02-04 10:51:58.198 Read 32 bytes (21 pending)
< 2017-02-04 10:51:58.198 "WinSCP: this is end-of-file:0"

. 2017-02-04 10:51:58.198 Read 2 bytes (19 pending)
< 2017-02-04 10:51:58.198

. 2017-02-04 10:51:58.198 Read 19 bytes (0 pending)
. 2017-02-04 10:51:58.198 Waiting for another 1 bytes
. 2017-02-04 10:51:58.198 Looking for incoming data
. 2017-02-04 10:51:58.198 Looking for network events
. 2017-02-04 10:52:14.586 Timeout waiting for network events
. 2017-02-04 10:52:14.586 Waiting for data timed out, asking user what to do.
. 2017-02-04 10:52:14.586 Asking user:
. 2017-02-04 10:52:14.586 **Host is not communicating for 15 seconds.
. 2017-02-04 10:52:14.586
. 2017-02-04 10:52:14.586 Wait for another 15 seconds?** ()
. . .
. 2017-02-04 10:52:35.426 Attempt to close connection due to fatal exception:
* 2017-02-04 10:52:35.426 **Terminated by user.**
. 2017-02-04 10:52:35.426 Closing connection.
. 2017-02-04 10:52:35.426 Sending special code: 12
. 2017-02-04 10:52:35.426 Sent EOF message
. 2017-02-04 10:52:35.426 Selecting events 0 for socket 1604
* 2017-02-04 10:52:35.488 (EFatal) **Terminated by user.**
* 2017-02-04 10:52:35.488 Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended).