Server unexpectedly closed network connection
I am having trouble connecting to a server and getting a directory list back. The first directory I try works. It only has 3 or 4 file entries in it. The second one is much larger. I have enclosed a logfile I generated with the 2 "ls" commands..1st one worked...2nd one did not.
. 2009-03-12 16:07:19.961 --------------------------------------------------------------------------
. 2009-03-12 16:07:19.961 WinSCP Version 4.1.8 (Build 415) (OS 6.0.6001 Service Pack 1)
. 2009-03-12 16:07:19.961 Login time: Thursday, March 12, 2009 4:07:19 PM
. 2009-03-12 16:07:19.961 --------------------------------------------------------------------------
. 2009-03-12 16:07:19.961 Session name: SemcoSecure
. 2009-03-12 16:07:19.961 Host name: focus.semcoenergy.com (Port: 22)
. 2009-03-12 16:07:19.961 User name: lakeshore (Password: Yes, Key file: No)
. 2009-03-12 16:07:19.961 Tunnel: No
. 2009-03-12 16:07:19.961 Transfer Protocol: SFTP (SCP)
. 2009-03-12 16:07:19.961 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2009-03-12 16:07:19.961 Proxy: none
. 2009-03-12 16:07:19.961 SSH protocol version: 2; Compression: No
. 2009-03-12 16:07:19.961 Bypass authentication: No
. 2009-03-12 16:07:19.961 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2009-03-12 16:07:19.961 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2009-03-12 16:07:19.961 SSH Bugs: -,-,-,-,-,-,-,-
. 2009-03-12 16:07:19.961 SFTP Bugs: -,-
. 2009-03-12 16:07:19.961 Return code variable: Autodetect; Lookup user groups: Yes
. 2009-03-12 16:07:19.961 Shell: default, EOL: 0
. 2009-03-12 16:07:19.961 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2009-03-12 16:07:19.961 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2009-03-12 16:07:19.961 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2009-03-12 16:07:19.961 Cache directory changes: Yes, Permanent: Yes
. 2009-03-12 16:07:19.961 DST mode: 1
. 2009-03-12 16:07:19.961 --------------------------------------------------------------------------
. 2009-03-12 16:07:19.976 Looking up host "xxxxx.xxxxxxxxxxxx.com"
. 2009-03-12 16:07:19.976 Connecting to xx.xxx.xxx.xx port 22
. 2009-03-12 16:07:20.148 Server version: SSH-2.0-OpenSSH_3.8.1p1 For-Authorized-Users-Only
. 2009-03-12 16:07:20.148 We claim version: SSH-2.0-WinSCP_release_4.1.8
. 2009-03-12 16:07:20.148 SSPI: acquired credentials for: xxxxxxxxxx@SEMINOLE.COM
. 2009-03-12 16:07:20.148 Constructed service principal name 'host/xxxxx.xxxxxxxxxxxx.com'
. 2009-03-12 16:07:20.163 GSSKEX disabled: The specified target is unknown or unreachable
. 2009-03-12 16:07:20.163 Using SSH protocol version 2
. 2009-03-12 16:07:20.226 Doing Diffie-Hellman group exchange
. 2009-03-12 16:07:20.507 Doing Diffie-Hellman key exchange with hash SHA-1
. 2009-03-12 16:07:20.850 Host key fingerprint is:
. 2009-03-12 16:07:20.850 ssh-dss 1024 45:31:95:51:29:d5:3d:15:6d:be:d0:24:67:d7:8d:a3
. 2009-03-12 16:07:20.850 Initialised AES-256 SDCTR client->server encryption
. 2009-03-12 16:07:20.850 Initialised HMAC-SHA1 client->server MAC algorithm
. 2009-03-12 16:07:20.850 Initialised AES-256 SDCTR server->client encryption
. 2009-03-12 16:07:20.850 Initialised HMAC-SHA1 server->client MAC algorithm
! 2009-03-12 16:07:21.115 Using username "lakeshore".
. 2009-03-12 16:07:21.287 Prompt (5, SSH server authentication, Using keyboard-interactive authentication., Password:)
. 2009-03-12 16:07:21.287 Using stored password.
. 2009-03-12 16:07:21.505 Access granted
. 2009-03-12 16:07:21.583 Opened channel for session
. 2009-03-12 16:07:21.661 Started a shell/command
. 2009-03-12 16:07:21.661 --------------------------------------------------------------------------
. 2009-03-12 16:07:21.661 Using SFTP protocol.
. 2009-03-12 16:07:21.661 Doing startup conversation with host.
> 2009-03-12 16:07:21.661 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2009-03-12 16:07:21.739 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2009-03-12 16:07:21.739 SFTP version 3 negotiated.
. 2009-03-12 16:07:21.739 We believe the server has signed timestamps bug
. 2009-03-12 16:07:21.739 We will use UTF-8 strings for status messages only
. 2009-03-12 16:07:21.739 Limiting packet size to OpenSSH sftp-server limit of 262148 bytes
. 2009-03-12 16:07:21.739 Getting current directory name.
. 2009-03-12 16:07:21.739 Getting real path for '.'
> 2009-03-12 16:07:21.739 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2009-03-12 16:07:21.817 Type: SSH_FXP_NAME, Size: 23, Number: 16
. 2009-03-12 16:07:21.817 Real path is '/'
. 2009-03-12 16:07:21.817 Startup conversation with host finished.
. 2009-03-12 16:07:21.833 Cached directory change via "outgoing" to "/outgoing".
. 2009-03-12 16:07:21.833 Getting current directory name.
. 2009-03-12 16:07:39.274 Listing directory "/outgoing".
> 2009-03-12 16:07:39.274 Type: SSH_FXP_OPENDIR, Size: 18, Number: 267
< 2009-03-12 16:07:39.367 Type: SSH_FXP_HANDLE, Size: 13, Number: 267
> 2009-03-12 16:07:39.367 Type: SSH_FXP_READDIR, Size: 13, Number: 524
< 2009-03-12 16:07:39.461 Type: SSH_FXP_NAME, Size: 669, Number: 524
> 2009-03-12 16:07:39.461 Type: SSH_FXP_READDIR, Size: 13, Number: 780
< 2009-03-12 16:07:39.586 Type: SSH_FXP_STATUS, Size: 28, Number: 780
< 2009-03-12 16:07:39.586 Status/error code: 1
> 2009-03-12 16:07:39.586 Type: SSH_FXP_CLOSE, Size: 13, Number: 1028
. 2009-03-12 16:07:44.281 Cached directory change via "Archive" to "/outgoing/Archive".
. 2009-03-12 16:07:44.281 Getting current directory name.
. 2009-03-12 16:07:46.652 Listing directory "/outgoing/Archive".
> 2009-03-12 16:07:46.652 Type: SSH_FXP_OPENDIR, Size: 26, Number: 1291
< 2009-03-12 16:07:46.652 Type: SSH_FXP_STATUS, Size: 24, Number: 1028
. 2009-03-12 16:07:46.652 Discarding reserved response
< 2009-03-12 16:07:46.730 Type: SSH_FXP_HANDLE, Size: 13, Number: 1291
> 2009-03-12 16:07:46.730 Type: SSH_FXP_READDIR, Size: 13, Number: 1548
< 2009-03-12 16:07:46.964 Type: SSH_FXP_NAME, Size: 16739, Number: 1548
> 2009-03-12 16:07:46.964 Type: SSH_FXP_READDIR, Size: 13, Number: 1804
< 2009-03-12 16:07:47.152 Type: SSH_FXP_NAME, Size: 17244, Number: 1804
> 2009-03-12 16:07:47.152 Type: SSH_FXP_READDIR, Size: 13, Number: 2060
. 2009-03-12 16:07:47.152 Server unexpectedly closed network connection
. 2009-03-12 16:07:19.961 --------------------------------------------------------------------------
. 2009-03-12 16:07:19.961 WinSCP Version 4.1.8 (Build 415) (OS 6.0.6001 Service Pack 1)
. 2009-03-12 16:07:19.961 Login time: Thursday, March 12, 2009 4:07:19 PM
. 2009-03-12 16:07:19.961 --------------------------------------------------------------------------
. 2009-03-12 16:07:19.961 Session name: SemcoSecure
. 2009-03-12 16:07:19.961 Host name: focus.semcoenergy.com (Port: 22)
. 2009-03-12 16:07:19.961 User name: lakeshore (Password: Yes, Key file: No)
. 2009-03-12 16:07:19.961 Tunnel: No
. 2009-03-12 16:07:19.961 Transfer Protocol: SFTP (SCP)
. 2009-03-12 16:07:19.961 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2009-03-12 16:07:19.961 Proxy: none
. 2009-03-12 16:07:19.961 SSH protocol version: 2; Compression: No
. 2009-03-12 16:07:19.961 Bypass authentication: No
. 2009-03-12 16:07:19.961 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2009-03-12 16:07:19.961 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2009-03-12 16:07:19.961 SSH Bugs: -,-,-,-,-,-,-,-
. 2009-03-12 16:07:19.961 SFTP Bugs: -,-
. 2009-03-12 16:07:19.961 Return code variable: Autodetect; Lookup user groups: Yes
. 2009-03-12 16:07:19.961 Shell: default, EOL: 0
. 2009-03-12 16:07:19.961 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2009-03-12 16:07:19.961 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2009-03-12 16:07:19.961 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2009-03-12 16:07:19.961 Cache directory changes: Yes, Permanent: Yes
. 2009-03-12 16:07:19.961 DST mode: 1
. 2009-03-12 16:07:19.961 --------------------------------------------------------------------------
. 2009-03-12 16:07:19.976 Looking up host "xxxxx.xxxxxxxxxxxx.com"
. 2009-03-12 16:07:19.976 Connecting to xx.xxx.xxx.xx port 22
. 2009-03-12 16:07:20.148 Server version: SSH-2.0-OpenSSH_3.8.1p1 For-Authorized-Users-Only
. 2009-03-12 16:07:20.148 We claim version: SSH-2.0-WinSCP_release_4.1.8
. 2009-03-12 16:07:20.148 SSPI: acquired credentials for: xxxxxxxxxx@SEMINOLE.COM
. 2009-03-12 16:07:20.148 Constructed service principal name 'host/xxxxx.xxxxxxxxxxxx.com'
. 2009-03-12 16:07:20.163 GSSKEX disabled: The specified target is unknown or unreachable
. 2009-03-12 16:07:20.163 Using SSH protocol version 2
. 2009-03-12 16:07:20.226 Doing Diffie-Hellman group exchange
. 2009-03-12 16:07:20.507 Doing Diffie-Hellman key exchange with hash SHA-1
. 2009-03-12 16:07:20.850 Host key fingerprint is:
. 2009-03-12 16:07:20.850 ssh-dss 1024 45:31:95:51:29:d5:3d:15:6d:be:d0:24:67:d7:8d:a3
. 2009-03-12 16:07:20.850 Initialised AES-256 SDCTR client->server encryption
. 2009-03-12 16:07:20.850 Initialised HMAC-SHA1 client->server MAC algorithm
. 2009-03-12 16:07:20.850 Initialised AES-256 SDCTR server->client encryption
. 2009-03-12 16:07:20.850 Initialised HMAC-SHA1 server->client MAC algorithm
! 2009-03-12 16:07:21.115 Using username "lakeshore".
. 2009-03-12 16:07:21.287 Prompt (5, SSH server authentication, Using keyboard-interactive authentication., Password:)
. 2009-03-12 16:07:21.287 Using stored password.
. 2009-03-12 16:07:21.505 Access granted
. 2009-03-12 16:07:21.583 Opened channel for session
. 2009-03-12 16:07:21.661 Started a shell/command
. 2009-03-12 16:07:21.661 --------------------------------------------------------------------------
. 2009-03-12 16:07:21.661 Using SFTP protocol.
. 2009-03-12 16:07:21.661 Doing startup conversation with host.
> 2009-03-12 16:07:21.661 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2009-03-12 16:07:21.739 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2009-03-12 16:07:21.739 SFTP version 3 negotiated.
. 2009-03-12 16:07:21.739 We believe the server has signed timestamps bug
. 2009-03-12 16:07:21.739 We will use UTF-8 strings for status messages only
. 2009-03-12 16:07:21.739 Limiting packet size to OpenSSH sftp-server limit of 262148 bytes
. 2009-03-12 16:07:21.739 Getting current directory name.
. 2009-03-12 16:07:21.739 Getting real path for '.'
> 2009-03-12 16:07:21.739 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2009-03-12 16:07:21.817 Type: SSH_FXP_NAME, Size: 23, Number: 16
. 2009-03-12 16:07:21.817 Real path is '/'
. 2009-03-12 16:07:21.817 Startup conversation with host finished.
. 2009-03-12 16:07:21.833 Cached directory change via "outgoing" to "/outgoing".
. 2009-03-12 16:07:21.833 Getting current directory name.
. 2009-03-12 16:07:39.274 Listing directory "/outgoing".
> 2009-03-12 16:07:39.274 Type: SSH_FXP_OPENDIR, Size: 18, Number: 267
< 2009-03-12 16:07:39.367 Type: SSH_FXP_HANDLE, Size: 13, Number: 267
> 2009-03-12 16:07:39.367 Type: SSH_FXP_READDIR, Size: 13, Number: 524
< 2009-03-12 16:07:39.461 Type: SSH_FXP_NAME, Size: 669, Number: 524
> 2009-03-12 16:07:39.461 Type: SSH_FXP_READDIR, Size: 13, Number: 780
< 2009-03-12 16:07:39.586 Type: SSH_FXP_STATUS, Size: 28, Number: 780
< 2009-03-12 16:07:39.586 Status/error code: 1
> 2009-03-12 16:07:39.586 Type: SSH_FXP_CLOSE, Size: 13, Number: 1028
. 2009-03-12 16:07:44.281 Cached directory change via "Archive" to "/outgoing/Archive".
. 2009-03-12 16:07:44.281 Getting current directory name.
. 2009-03-12 16:07:46.652 Listing directory "/outgoing/Archive".
> 2009-03-12 16:07:46.652 Type: SSH_FXP_OPENDIR, Size: 26, Number: 1291
< 2009-03-12 16:07:46.652 Type: SSH_FXP_STATUS, Size: 24, Number: 1028
. 2009-03-12 16:07:46.652 Discarding reserved response
< 2009-03-12 16:07:46.730 Type: SSH_FXP_HANDLE, Size: 13, Number: 1291
> 2009-03-12 16:07:46.730 Type: SSH_FXP_READDIR, Size: 13, Number: 1548
< 2009-03-12 16:07:46.964 Type: SSH_FXP_NAME, Size: 16739, Number: 1548
> 2009-03-12 16:07:46.964 Type: SSH_FXP_READDIR, Size: 13, Number: 1804
< 2009-03-12 16:07:47.152 Type: SSH_FXP_NAME, Size: 17244, Number: 1804
> 2009-03-12 16:07:47.152 Type: SSH_FXP_READDIR, Size: 13, Number: 2060
. 2009-03-12 16:07:47.152 Server unexpectedly closed network connection