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

Author Message
rustyx

Guest


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:

Code:
. 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).
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
Use SFTP, not SCP:
https://winscp.net/eng/docs/guide_windows_openssh_server#connecting
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum

Search

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License