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: Default Shell

pdt1 wrote:

I really aprreciate if you please advise me on how to change default shell in session options of Winscp .Net assemply.

Please read documentation:
https://winscp.net/eng/docs/rawsettings
pdt1

Default Shell

I really aprreciate if you please advise me on how to change default shell in session options of Winscp .Net assemply.

Thanks,
PDT
martin

Re: Shell 'Default' causes connection to close

What is your default shell?
asynch

Shell 'Default' causes connection to close

WinSCP Version 5.1.5
Microsoft Windows 7
SCP
GUI

---------------------------
Error
---------------------------
Connection has been unexpectedly closed. Server sent command exit status 1.
---------------------------
Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended).
---------------------------
OK Reconnect (4 s) Help
---------------------------

Server version: SSH-2.0-OpenSSH_3.8.1p1 Debian-8.sarge.6
Using SSH protocol version 2

scp works fine on this server from a Linux clients and from OS X clients, but no one has been able to connect using WinSCP on Windows 7.

Finally found that by changing Environment -> SCP/Shell -> Shell: from "Default" to "/bin/bash" then it seems to work fine.

Log file with Shell: "Default"
. 2013-06-21 12:54:26.222 --------------------------------------------------------------------------

. 2013-06-21 12:54:26.222 WinSCP Version 5.1.5 (Build 3261) (OS 6.1.7601 Service Pack 1)
. 2013-06-21 12:54:26.222 Configuration: HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\
. 2013-06-21 12:54:26.222 Local account: Operator-PC\Operator
. 2013-06-21 12:54:26.222 Working directory: C:\Program Files\WinSCP
. 2013-06-21 12:54:26.222 Process ID: 5448
. 2013-06-21 12:54:26.222 Command-line: "C:\Program Files\WinSCP\WinSCP.exe"
. 2013-06-21 12:54:26.222 Time zone: Current: GMT-6, Standard: GMT-7, DST: GMT-6, DST Start: 3/10/2013, DST End: 11/3/2013
. 2013-06-21 12:54:26.222 Login time: Friday, June 21, 2013 12:54:26 PM
. 2013-06-21 12:54:26.222 --------------------------------------------------------------------------
. 2013-06-21 12:54:26.222 Session name: 192.168.1.45 (Modified stored session)
. 2013-06-21 12:54:26.222 Host name: 192.168.1.45 (Port: 22)
. 2013-06-21 12:54:26.222 User name:  (Password: No, Key file: No)
. 2013-06-21 12:54:26.222 Tunnel: No
. 2013-06-21 12:54:26.222 Transfer Protocol: SCP
. 2013-06-21 12:54:26.222 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2013-06-21 12:54:26.222 Proxy: none
. 2013-06-21 12:54:26.222 SSH protocol version: 2; Compression: No
. 2013-06-21 12:54:26.222 Bypass authentication: No
. 2013-06-21 12:54:26.222 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2013-06-21 12:54:26.222 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2013-06-21 12:54:26.222 SSH Bugs: A,A,A,A,A,A,A,A,A,A
. 2013-06-21 12:54:26.222 Return code variable: Autodetect; Lookup user groups: A
. 2013-06-21 12:54:26.222 Shell: default
. 2013-06-21 12:54:26.222 EOL: 0, UTF: 2
. 2013-06-21 12:54:26.222 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2013-06-21 12:54:26.223 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2013-06-21 12:54:26.223 Local directory: C:\Users\Operator\Documents, Remote directory: /root, Update: Yes, Cache: Yes
. 2013-06-21 12:54:26.223 Cache directory changes: Yes, Permanent: Yes
. 2013-06-21 12:54:26.223 DST mode: 1; Timezone offset: 0h 0m
. 2013-06-21 12:54:26.223 --------------------------------------------------------------------------
. 2013-06-21 12:54:26.298 Looking up host "192.168.1.45"
. 2013-06-21 12:54:26.298 Connecting to 192.168.1.45 port 22
. 2013-06-21 12:54:26.302 Selecting events 63 for socket 888
. 2013-06-21 12:54:26.349 Waiting for the server to continue with the initialization
. 2013-06-21 12:54:26.349 Looking for incoming data
. 2013-06-21 12:54:26.349 Looking for network events
. 2013-06-21 12:54:26.349 Detected network event
. 2013-06-21 12:54:26.349 Enumerating network events for socket 888
. 2013-06-21 12:54:26.349 Enumerated 19 network events making 19 cumulative events for socket 888
. 2013-06-21 12:54:26.349 Handling network read event on socket 888 with error 0
. 2013-06-21 12:54:26.349 Server version: SSH-2.0-OpenSSH_3.8.1p1 Debian-8.sarge.6
. 2013-06-21 12:54:26.349 Using SSH protocol version 2
. 2013-06-21 12:54:26.349 We claim version: SSH-2.0-WinSCP_release_5.1.5
. 2013-06-21 12:54:26.349 Handling network write event on socket 888 with error 0
. 2013-06-21 12:54:26.349 Handling network connect event on socket 888 with error 0
. 2013-06-21 12:54:26.349 Waiting for the server to continue with the initialization
. 2013-06-21 12:54:26.349 Looking for incoming data
. 2013-06-21 12:54:26.349 Looking for network events
. 2013-06-21 12:54:26.372 Detected network event
. 2013-06-21 12:54:26.372 Enumerating network events for socket 888
. 2013-06-21 12:54:26.372 Enumerated 1 network events making 1 cumulative events for socket 888
. 2013-06-21 12:54:26.372 Handling network read event on socket 888 with error 0
. 2013-06-21 12:54:26.373 Doing Diffie-Hellman group exchange
. 2013-06-21 12:54:26.373 Waiting for the server to continue with the initialization
. 2013-06-21 12:54:26.373 Looking for incoming data
. 2013-06-21 12:54:26.373 Looking for network events
. 2013-06-21 12:54:26.445 Detected network event
. 2013-06-21 12:54:26.445 Enumerating network events for socket 888
. 2013-06-21 12:54:26.445 Enumerated 1 network events making 1 cumulative events for socket 888
. 2013-06-21 12:54:26.445 Handling network read event on socket 888 with error 0
. 2013-06-21 12:54:26.445 Doing Diffie-Hellman key exchange with hash SHA-1
. 2013-06-21 12:54:26.512 Waiting for the server to continue with the initialization
. 2013-06-21 12:54:26.512 Looking for incoming data
. 2013-06-21 12:54:26.512 Looking for network events
. 2013-06-21 12:54:28.436 Detected network event
. 2013-06-21 12:54:28.436 Enumerating network events for socket 888
. 2013-06-21 12:54:28.436 Enumerated 1 network events making 1 cumulative events for socket 888
. 2013-06-21 12:54:28.436 Handling network read event on socket 888 with error 0
. 2013-06-21 12:54:28.522 Verifying host key rsa2
. 2013-06-21 12:54:28.552 Host key matches cached key
. 2013-06-21 12:54:28.552 Selecting events 63 for socket 888
. 2013-06-21 12:54:28.552 Host key fingerprint is:
. 2013-06-21 12:54:28.552 ssh-rsa 2048 7f:04:f4:96:c0:f9:01:b8:92:07:43:07:13:59:30:33
. 2013-06-21 12:54:28.552 Initialised AES-256 SDCTR client->server encryption
. 2013-06-21 12:54:28.552 Initialised HMAC-SHA1 client->server MAC algorithm
. 2013-06-21 12:54:28.552 Initialised AES-256 SDCTR server->client encryption
. 2013-06-21 12:54:28.552 Initialised HMAC-SHA1 server->client MAC algorithm
. 2013-06-21 12:54:28.552 Waiting for the server to continue with the initialization
. 2013-06-21 12:54:28.552 Looking for incoming data
. 2013-06-21 12:54:28.552 Looking for network events
. 2013-06-21 12:54:28.574 Detected network event
. 2013-06-21 12:54:28.574 Enumerating network events for socket 888
. 2013-06-21 12:54:28.574 Enumerated 1 network events making 1 cumulative events for socket 888
. 2013-06-21 12:54:28.574 Handling network read event on socket 888 with error 0
. 2013-06-21 12:54:28.575 Prompt (2, SSH login name, , login as: )
. 2013-06-21 12:54:30.752 Waiting for the server to continue with the initialization
. 2013-06-21 12:54:30.752 Looking for incoming data
. 2013-06-21 12:54:30.752 Looking for network events
. 2013-06-21 12:54:30.796 Detected network event
. 2013-06-21 12:54:30.796 Enumerating network events for socket 888
. 2013-06-21 12:54:30.796 Enumerated 1 network events making 1 cumulative events for socket 888
. 2013-06-21 12:54:30.796 Handling network read event on socket 888 with error 0
. 2013-06-21 12:54:30.796 Attempting keyboard-interactive authentication
. 2013-06-21 12:54:30.796 Waiting for the server to continue with the initialization
. 2013-06-21 12:54:30.796 Looking for incoming data
. 2013-06-21 12:54:30.796 Looking for network events
. 2013-06-21 12:54:30.806 Detected network event
. 2013-06-21 12:54:30.806 Enumerating network events for socket 888
. 2013-06-21 12:54:30.806 Enumerated 1 network events making 1 cumulative events for socket 888
. 2013-06-21 12:54:30.806 Handling network read event on socket 888 with error 0
. 2013-06-21 12:54:30.806 Prompt (6, SSH server authentication, Using keyboard-interactive authentication., Password: )
. 2013-06-21 12:54:31.969 Waiting for the server to continue with the initialization
. 2013-06-21 12:54:31.969 Looking for incoming data
. 2013-06-21 12:54:31.969 Looking for network events
. 2013-06-21 12:54:31.987 Detected network event
. 2013-06-21 12:54:31.987 Enumerating network events for socket 888
. 2013-06-21 12:54:31.987 Enumerated 1 network events making 1 cumulative events for socket 888
. 2013-06-21 12:54:31.987 Handling network read event on socket 888 with error 0
. 2013-06-21 12:54:31.988 Prompt (6, SSH server authentication, , <no prompt>)
. 2013-06-21 12:54:31.988 Ignoring empty SSH server authentication request
. 2013-06-21 12:54:31.988 Waiting for the server to continue with the initialization
. 2013-06-21 12:54:31.988 Looking for incoming data
. 2013-06-21 12:54:31.988 Looking for network events
. 2013-06-21 12:54:32.003 Detected network event
. 2013-06-21 12:54:32.003 Enumerating network events for socket 888
. 2013-06-21 12:54:32.003 Enumerated 1 network events making 1 cumulative events for socket 888
. 2013-06-21 12:54:32.003 Handling network read event on socket 888 with error 0
. 2013-06-21 12:54:32.003 Access granted
. 2013-06-21 12:54:32.003 Waiting for the server to continue with the initialization
. 2013-06-21 12:54:32.003 Looking for incoming data
. 2013-06-21 12:54:32.003 Looking for network events
. 2013-06-21 12:54:32.009 Detected network event
. 2013-06-21 12:54:32.009 Enumerating network events for socket 888
. 2013-06-21 12:54:32.009 Enumerated 1 network events making 1 cumulative events for socket 888
. 2013-06-21 12:54:32.009 Handling network read event on socket 888 with error 0
. 2013-06-21 12:54:32.009 Opened channel for session
. 2013-06-21 12:54:32.009 Waiting for the server to continue with the initialization
. 2013-06-21 12:54:32.009 Looking for incoming data
. 2013-06-21 12:54:32.009 Looking for network events
. 2013-06-21 12:54:32.078 Detected network event
. 2013-06-21 12:54:32.078 Enumerating network events for socket 888
. 2013-06-21 12:54:32.078 Enumerated 1 network events making 1 cumulative events for socket 888
. 2013-06-21 12:54:32.078 Handling network read event on socket 888 with error 0
. 2013-06-21 12:54:32.078 Started a shell/command
. 2013-06-21 12:54:32.120 --------------------------------------------------------------------------
. 2013-06-21 12:54:32.120 Using SCP protocol.
. 2013-06-21 12:54:32.120 Doing startup conversation with host.
. 2013-06-21 12:54:32.120 Session upkeep
. 2013-06-21 12:54:32.120 Looking for network events
. 2013-06-21 12:54:32.120 Timeout waiting for network events
. 2013-06-21 12:54:32.172 Skipping host startup message (if any).
. 2013-06-21 12:54:32.172 Sent 36 bytes
. 2013-06-21 12:54:32.172 There are 0 bytes remaining in the send buffer
. 2013-06-21 12:54:32.173 Looking for network events
. 2013-06-21 12:54:32.173 Timeout waiting for network events
. 2013-06-21 12:54:32.173 Sent 1 bytes
. 2013-06-21 12:54:32.173 There are 0 bytes remaining in the send buffer
. 2013-06-21 12:54:32.173 Looking for network events
. 2013-06-21 12:54:32.173 Timeout waiting for network events
> 2013-06-21 12:54:32.173 echo "WinSCP: this is end-of-file:0"
. 2013-06-21 12:54:32.173 Waiting for another 1 bytes
. 2013-06-21 12:54:32.173 Looking for incoming data
. 2013-06-21 12:54:32.173 Looking for network events
. 2013-06-21 12:54:32.177 Detected network event
. 2013-06-21 12:54:32.177 Enumerating network events for socket 888
. 2013-06-21 12:54:32.177 Enumerated 1 network events making 1 cumulative events for socket 888
. 2013-06-21 12:54:32.177 Handling network read event on socket 888 with error 0
. 2013-06-21 12:54:32.177 Server sent command exit status 1
. 2013-06-21 12:54:32.177 Selecting events 0 for socket 888
. 2013-06-21 12:54:32.177 Disconnected: All channels closed
* 2013-06-21 12:54:32.232 (EFatal) Connection has been unexpectedly closed. Server sent command exit status 1.
* 2013-06-21 12:54:32.232 Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended).


Log file with Shell: "/bin/bash"
. 2013-06-21 12:54:26.222 --------------------------------------------------------------------------

. 2013-06-21 12:54:26.222 WinSCP Version 5.1.5 (Build 3261) (OS 6.1.7601 Service Pack 1)
. 2013-06-21 12:54:26.222 Configuration: HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\
. 2013-06-21 12:54:26.222 Local account: Operator-PC\Operator
. 2013-06-21 12:54:26.222 Working directory: C:\Program Files\WinSCP
. 2013-06-21 12:54:26.222 Process ID: 5448
. 2013-06-21 12:54:26.222 Command-line: "C:\Program Files\WinSCP\WinSCP.exe"
. 2013-06-21 12:54:26.222 Time zone: Current: GMT-6, Standard: GMT-7, DST: GMT-6, DST Start: 3/10/2013, DST End: 11/3/2013
. 2013-06-21 12:54:26.222 Login time: Friday, June 21, 2013 12:54:26 PM
. 2013-06-21 12:54:26.222 --------------------------------------------------------------------------
. 2013-06-21 12:54:26.222 Session name: 192.168.1.45 (Modified stored session)
. 2013-06-21 12:54:26.222 Host name: 192.168.1.45 (Port: 22)
. 2013-06-21 12:54:26.222 User name:  (Password: No, Key file: No)
. 2013-06-21 12:54:26.222 Tunnel: No
. 2013-06-21 12:54:26.222 Transfer Protocol: SCP
. 2013-06-21 12:54:26.222 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2013-06-21 12:54:26.222 Proxy: none
. 2013-06-21 12:54:26.222 SSH protocol version: 2; Compression: No
. 2013-06-21 12:54:26.222 Bypass authentication: No
. 2013-06-21 12:54:26.222 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2013-06-21 12:54:26.222 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2013-06-21 12:54:26.222 SSH Bugs: A,A,A,A,A,A,A,A,A,A
. 2013-06-21 12:54:26.222 Return code variable: Autodetect; Lookup user groups: A
. 2013-06-21 12:54:26.222 Shell: default
. 2013-06-21 12:54:26.222 EOL: 0, UTF: 2
. 2013-06-21 12:54:26.222 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2013-06-21 12:54:26.223 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2013-06-21 12:54:26.223 Local directory: C:\Users\Operator\Documents, Remote directory: /root, Update: Yes, Cache: Yes
. 2013-06-21 12:54:26.223 Cache directory changes: Yes, Permanent: Yes
. 2013-06-21 12:54:26.223 DST mode: 1; Timezone offset: 0h 0m
. 2013-06-21 12:54:26.223 --------------------------------------------------------------------------
. 2013-06-21 12:54:26.298 Looking up host "192.168.1.45"
. 2013-06-21 12:54:26.298 Connecting to 192.168.1.45 port 22
. 2013-06-21 12:54:26.302 Selecting events 63 for socket 888
. 2013-06-21 12:54:26.349 Waiting for the server to continue with the initialization
. 2013-06-21 12:54:26.349 Looking for incoming data
. 2013-06-21 12:54:26.349 Looking for network events
. 2013-06-21 12:54:26.349 Detected network event
. 2013-06-21 12:54:26.349 Enumerating network events for socket 888
. 2013-06-21 12:54:26.349 Enumerated 19 network events making 19 cumulative events for socket 888
. 2013-06-21 12:54:26.349 Handling network read event on socket 888 with error 0
. 2013-06-21 12:54:26.349 Server version: SSH-2.0-OpenSSH_3.8.1p1 Debian-8.sarge.6
. 2013-06-21 12:54:26.349 Using SSH protocol version 2
. 2013-06-21 12:54:26.349 We claim version: SSH-2.0-WinSCP_release_5.1.5
. 2013-06-21 12:54:26.349 Handling network write event on socket 888 with error 0
. 2013-06-21 12:54:26.349 Handling network connect event on socket 888 with error 0
. 2013-06-21 12:54:26.349 Waiting for the server to continue with the initialization
. 2013-06-21 12:54:26.349 Looking for incoming data
. 2013-06-21 12:54:26.349 Looking for network events
. 2013-06-21 12:54:26.372 Detected network event
. 2013-06-21 12:54:26.372 Enumerating network events for socket 888
. 2013-06-21 12:54:26.372 Enumerated 1 network events making 1 cumulative events for socket 888
. 2013-06-21 12:54:26.372 Handling network read event on socket 888 with error 0
. 2013-06-21 12:54:26.373 Doing Diffie-Hellman group exchange
. 2013-06-21 12:54:26.373 Waiting for the server to continue with the initialization
. 2013-06-21 12:54:26.373 Looking for incoming data
. 2013-06-21 12:54:26.373 Looking for network events
. 2013-06-21 12:54:26.445 Detected network event
. 2013-06-21 12:54:26.445 Enumerating network events for socket 888
. 2013-06-21 12:54:26.445 Enumerated 1 network events making 1 cumulative events for socket 888
. 2013-06-21 12:54:26.445 Handling network read event on socket 888 with error 0
. 2013-06-21 12:54:26.445 Doing Diffie-Hellman key exchange with hash SHA-1
. 2013-06-21 12:54:26.512 Waiting for the server to continue with the initialization
. 2013-06-21 12:54:26.512 Looking for incoming data
. 2013-06-21 12:54:26.512 Looking for network events
. 2013-06-21 12:54:28.436 Detected network event
. 2013-06-21 12:54:28.436 Enumerating network events for socket 888
. 2013-06-21 12:54:28.436 Enumerated 1 network events making 1 cumulative events for socket 888
. 2013-06-21 12:54:28.436 Handling network read event on socket 888 with error 0
. 2013-06-21 12:54:28.522 Verifying host key rsa2 0x23,0xcb982caead5515d53ba1658dcbd23ac4d8251d6297ee0f3efb97d5a3f2a56c26f4c7ec6cc4498aa0e7fdd725f6876777647643415b35530906a9bc0f1dade469ade8b1eb273014ef4f23cd5fd8534c97fc714bbc73f5478660f87aee4d9f3e102d7252156ef089a5249e83f89e34fcb607a4b736dfd8297dff8dfad340b8ee5366f53fe15b88b68561b489189bf8042b03779fe6b0fa7edba9bfb433cf4682fad01eac85ebbc2c53be788e2294edad2d46f6bfe63435af33a3215975b470d0a4478712ad088c5a1ab8549a1ac83cc9eb8257e39dbd1b08aa6c26a24e944447b9aab510fe24f91823d857cf62156be81616ebc1ccc97b978413bdb01173860181 with fingerprint ssh-rsa 2048 7f:04:f4:96:c0:f9:01:b8:92:07:43:07:13:59:30:33
. 2013-06-21 12:54:28.552 Host key matches cached key
. 2013-06-21 12:54:28.552 Selecting events 63 for socket 888
. 2013-06-21 12:54:28.552 Host key fingerprint is:
. 2013-06-21 12:54:28.552 ssh-rsa 2048 7f:04:f4:96:c0:f9:01:b8:92:07:43:07:13:59:30:33
. 2013-06-21 12:54:28.552 Initialised AES-256 SDCTR client->server encryption
. 2013-06-21 12:54:28.552 Initialised HMAC-SHA1 client->server MAC algorithm
. 2013-06-21 12:54:28.552 Initialised AES-256 SDCTR server->client encryption
. 2013-06-21 12:54:28.552 Initialised HMAC-SHA1 server->client MAC algorithm
. 2013-06-21 12:54:28.552 Waiting for the server to continue with the initialization
. 2013-06-21 12:54:28.552 Looking for incoming data
. 2013-06-21 12:54:28.552 Looking for network events
. 2013-06-21 12:54:28.574 Detected network event
. 2013-06-21 12:54:28.574 Enumerating network events for socket 888
. 2013-06-21 12:54:28.574 Enumerated 1 network events making 1 cumulative events for socket 888
. 2013-06-21 12:54:28.574 Handling network read event on socket 888 with error 0
. 2013-06-21 12:54:28.575 Prompt (2, SSH login name, , login as: )
. 2013-06-21 12:54:30.752 Waiting for the server to continue with the initialization
. 2013-06-21 12:54:30.752 Looking for incoming data
. 2013-06-21 12:54:30.752 Looking for network events
. 2013-06-21 12:54:30.796 Detected network event
. 2013-06-21 12:54:30.796 Enumerating network events for socket 888
. 2013-06-21 12:54:30.796 Enumerated 1 network events making 1 cumulative events for socket 888
. 2013-06-21 12:54:30.796 Handling network read event on socket 888 with error 0
. 2013-06-21 12:54:30.796 Attempting keyboard-interactive authentication
. 2013-06-21 12:54:30.796 Waiting for the server to continue with the initialization
. 2013-06-21 12:54:30.796 Looking for incoming data
. 2013-06-21 12:54:30.796 Looking for network events
. 2013-06-21 12:54:30.806 Detected network event
. 2013-06-21 12:54:30.806 Enumerating network events for socket 888
. 2013-06-21 12:54:30.806 Enumerated 1 network events making 1 cumulative events for socket 888
. 2013-06-21 12:54:30.806 Handling network read event on socket 888 with error 0
. 2013-06-21 12:54:30.806 Prompt (6, SSH server authentication, Using keyboard-interactive authentication., Password: )
. 2013-06-21 12:54:31.969 Waiting for the server to continue with the initialization
. 2013-06-21 12:54:31.969 Looking for incoming data
. 2013-06-21 12:54:31.969 Looking for network events
. 2013-06-21 12:54:31.987 Detected network event
. 2013-06-21 12:54:31.987 Enumerating network events for socket 888
. 2013-06-21 12:54:31.987 Enumerated 1 network events making 1 cumulative events for socket 888
. 2013-06-21 12:54:31.987 Handling network read event on socket 888 with error 0
. 2013-06-21 12:54:31.988 Prompt (6, SSH server authentication, , <no prompt>)
. 2013-06-21 12:54:31.988 Ignoring empty SSH server authentication request
. 2013-06-21 12:54:31.988 Waiting for the server to continue with the initialization
. 2013-06-21 12:54:31.988 Looking for incoming data
. 2013-06-21 12:54:31.988 Looking for network events
. 2013-06-21 12:54:32.003 Detected network event
. 2013-06-21 12:54:32.003 Enumerating network events for socket 888
. 2013-06-21 12:54:32.003 Enumerated 1 network events making 1 cumulative events for socket 888
. 2013-06-21 12:54:32.003 Handling network read event on socket 888 with error 0
. 2013-06-21 12:54:32.003 Access granted
. 2013-06-21 12:54:32.003 Waiting for the server to continue with the initialization
. 2013-06-21 12:54:32.003 Looking for incoming data
. 2013-06-21 12:54:32.003 Looking for network events
. 2013-06-21 12:54:32.009 Detected network event
. 2013-06-21 12:54:32.009 Enumerating network events for socket 888
. 2013-06-21 12:54:32.009 Enumerated 1 network events making 1 cumulative events for socket 888
. 2013-06-21 12:54:32.009 Handling network read event on socket 888 with error 0
. 2013-06-21 12:54:32.009 Opened channel for session
. 2013-06-21 12:54:32.009 Waiting for the server to continue with the initialization
. 2013-06-21 12:54:32.009 Looking for incoming data
. 2013-06-21 12:54:32.009 Looking for network events
. 2013-06-21 12:54:32.078 Detected network event
. 2013-06-21 12:54:32.078 Enumerating network events for socket 888
. 2013-06-21 12:54:32.078 Enumerated 1 network events making 1 cumulative events for socket 888
. 2013-06-21 12:54:32.078 Handling network read event on socket 888 with error 0
. 2013-06-21 12:54:32.078 Started a shell/command
. 2013-06-21 12:54:32.120 --------------------------------------------------------------------------
. 2013-06-21 12:54:32.120 Using SCP protocol.
. 2013-06-21 12:54:32.120 Doing startup conversation with host.
. 2013-06-21 12:54:32.120 Session upkeep
. 2013-06-21 12:54:32.120 Looking for network events
. 2013-06-21 12:54:32.120 Timeout waiting for network events
. 2013-06-21 12:54:32.172 Skipping host startup message (if any).
. 2013-06-21 12:54:32.172 Sent 36 bytes
. 2013-06-21 12:54:32.172 There are 0 bytes remaining in the send buffer
. 2013-06-21 12:54:32.173 Looking for network events
. 2013-06-21 12:54:32.173 Timeout waiting for network events
. 2013-06-21 12:54:32.173 Sent 1 bytes
. 2013-06-21 12:54:32.173 There are 0 bytes remaining in the send buffer
. 2013-06-21 12:54:32.173 Looking for network events
. 2013-06-21 12:54:32.173 Timeout waiting for network events
> 2013-06-21 12:54:32.173 echo "WinSCP: this is end-of-file:0"
. 2013-06-21 12:54:32.173 Waiting for another 1 bytes
. 2013-06-21 12:54:32.173 Looking for incoming data
. 2013-06-21 12:54:32.173 Looking for network events
. 2013-06-21 12:54:32.177 Detected network event
. 2013-06-21 12:54:32.177 Enumerating network events for socket 888
. 2013-06-21 12:54:32.177 Enumerated 1 network events making 1 cumulative events for socket 888
. 2013-06-21 12:54:32.177 Handling network read event on socket 888 with error 0
. 2013-06-21 12:54:32.177 Server sent command exit status 1
. 2013-06-21 12:54:32.177 Selecting events 0 for socket 888
. 2013-06-21 12:54:32.177 Disconnected: All channels closed
* 2013-06-21 12:54:32.232 (EFatal) Connection has been unexpectedly closed. Server sent command exit status 1.
* 2013-06-21 12:54:32.232 Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended).
. 2013-06-21 12:54:37.434 Looking up host "192.168.1.45"
. 2013-06-21 12:54:37.434 Connecting to 192.168.1.45 port 22
. 2013-06-21 12:54:37.453 Selecting events 63 for socket 872
. 2013-06-21 12:54:37.453 Session upkeep
. 2013-06-21 12:54:37.453 Looking for network events
. 2013-06-21 12:54:37.453 Detected network event
. 2013-06-21 12:54:37.453 Enumerating network events for socket 872
. 2013-06-21 12:54:37.453 Enumerated 18 network events making 18 cumulative events for socket 872
. 2013-06-21 12:54:37.453 Handling network write event on socket 872 with error 0
. 2013-06-21 12:54:37.453 Handling network connect event on socket 872 with error 0
. 2013-06-21 12:54:37.485 Waiting for the server to continue with the initialization
. 2013-06-21 12:54:37.485 Looking for incoming data
. 2013-06-21 12:54:37.485 Looking for network events
. 2013-06-21 12:54:37.485 Detected network event
. 2013-06-21 12:54:37.485 Enumerating network events for socket 872
. 2013-06-21 12:54:37.486 Enumerated 1 network events making 1 cumulative events for socket 872
. 2013-06-21 12:54:37.486 Handling network read event on socket 872 with error 0
. 2013-06-21 12:54:37.486 Server version: SSH-2.0-OpenSSH_3.8.1p1 Debian-8.sarge.6
. 2013-06-21 12:54:37.486 Using SSH protocol version 2
. 2013-06-21 12:54:37.486 We claim version: SSH-2.0-WinSCP_release_5.1.5
. 2013-06-21 12:54:37.486 Waiting for the server to continue with the initialization
. 2013-06-21 12:54:37.486 Looking for incoming data
. 2013-06-21 12:54:37.486 Looking for network events
. 2013-06-21 12:54:37.503 Detected network event
. 2013-06-21 12:54:37.503 Enumerating network events for socket 872
. 2013-06-21 12:54:37.503 Enumerated 1 network events making 1 cumulative events for socket 872
. 2013-06-21 12:54:37.503 Handling network read event on socket 872 with error 0
. 2013-06-21 12:54:37.503 Doing Diffie-Hellman group exchange
. 2013-06-21 12:54:37.503 Waiting for the server to continue with the initialization
. 2013-06-21 12:54:37.503 Looking for incoming data
. 2013-06-21 12:54:37.503 Looking for network events
. 2013-06-21 12:54:37.589 Detected network event
. 2013-06-21 12:54:37.589 Enumerating network events for socket 872
. 2013-06-21 12:54:37.589 Enumerated 1 network events making 1 cumulative events for socket 872
. 2013-06-21 12:54:37.589 Handling network read event on socket 872 with error 0
. 2013-06-21 12:54:37.589 Doing Diffie-Hellman key exchange with hash SHA-1
. 2013-06-21 12:54:37.657 Waiting for the server to continue with the initialization
. 2013-06-21 12:54:37.657 Looking for incoming data
. 2013-06-21 12:54:37.657 Looking for network events
. 2013-06-21 12:54:39.574 Detected network event
. 2013-06-21 12:54:39.574 Enumerating network events for socket 872
. 2013-06-21 12:54:39.574 Enumerated 1 network events making 1 cumulative events for socket 872
. 2013-06-21 12:54:39.574 Handling network read event on socket 872 with error 0
. 2013-06-21 12:54:39.665 Verifying host key rsa2
. 2013-06-21 12:54:39.693 Host key matches cached key
. 2013-06-21 12:54:39.693 Selecting events 63 for socket 872
. 2013-06-21 12:54:39.693 Host key fingerprint is:
. 2013-06-21 12:54:39.693 ssh-rsa 2048 7f:04:f4:96:c0:f9:01:b8:92:07:43:07:13:59:30:33
. 2013-06-21 12:54:39.693 Initialised AES-256 SDCTR client->server encryption
. 2013-06-21 12:54:39.693 Initialised HMAC-SHA1 client->server MAC algorithm
. 2013-06-21 12:54:39.693 Initialised AES-256 SDCTR server->client encryption
. 2013-06-21 12:54:39.693 Initialised HMAC-SHA1 server->client MAC algorithm
. 2013-06-21 12:54:39.693 Waiting for the server to continue with the initialization
. 2013-06-21 12:54:39.693 Looking for incoming data
. 2013-06-21 12:54:39.693 Looking for network events
. 2013-06-21 12:54:39.722 Detected network event
. 2013-06-21 12:54:39.722 Enumerating network events for socket 872
. 2013-06-21 12:54:39.722 Enumerated 1 network events making 1 cumulative events for socket 872
. 2013-06-21 12:54:39.723 Handling network read event on socket 872 with error 0
. 2013-06-21 12:54:39.723 Prompt (2, SSH login name, , login as: )
. 2013-06-21 12:57:31.364 Attempt to close connection due to fatal exception:
. 2013-06-21 12:57:31.364 Closing connection.
. 2013-06-21 12:57:31.364 Sending special code: 12
. 2013-06-21 12:57:31.364 Selecting events 0 for socket 872
* 2013-06-21 12:57:31.419 (ESshFatal)


WinSCP also consistently failed to copy a 12MB file (again, no issues with Linux or OS X scp clients transferring the same file). Eventually, enabling compression allowed the file to be successfully transferred.