martin wrote:
I do not see any problem in the log file. It seems that there are at least some file returned from the server.
One idea: can it be that all the files in the directories are hidden (they start with dot)? WinSCP by default does not show hidden files.
If this is not the case, please enable
Protocol (Low-Level) Logging and post the log file again.
Okay, to eliminate hidden, I set WinSCP to login to the / directory where there are known files and folders viewable with RWX privs. Here is the log. Do you think this is a OpenSSH bug? I should have mentioned earlier that the Commercial ssh.com Tectia does the same thing?
. --------------------------------------------------------------------------
. WinSCP Version 3.7.2 (Build 262) (OS 5.0.2195 Service Pack 4)
. Login time: Thursday, February 03, 2005 9:35:01 AM
. --------------------------------------------------------------------------
. Session name: x@x.x.x.x
. Host name: x.x.x.x (Port: 22)
. User name: root (Password: Yes, Key file: No)
. Transfer Protocol: SFTP
. SSH protocol version: 2; Compression: No
. Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. SSH Bugs: -,-,-,-,-,-,-,-
. SFTP Bugs: -,-
. Proxy: none
. Return code variable: Autodetect; Lookup user groups: Yes
. Shell: default, EOL: 0
. Local directory: default, Remote directory: /, Update: No, Cache: No
. Cache directory changes: No, Permanent: No
. Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. --------------------------------------------------------------------------
. Looking up host "x.x.x.x"
. Connecting to x.x.x.x port 22
. Server version: SSH-1.99-OpenSSH_3.7.1p2
. We claim version: SSH-2.0-WinSCP_release_3.7.2
. Using SSH protocol version 2
. Doing Diffie-Hellman group exchange
. Doing Diffie-Hellman key exchange
. Host key fingerprint is:
. ssh-rsa 1024 xxxxxxx
. Initialised AES-256 client->server encryption
. Initialised HMAC-SHA1 client->server MAC algorithm
. Initialised AES-256 server->client encryption
. Initialised HMAC-SHA1 server->client MAC algorithm
! Using username "root".
. Keyboard-interactive authentication refused
. Session password prompt (x@x.x.x.x's password: )
. Using stored password.
. Sent password
. Access granted
. Opened channel for session
. Started a shell/command
. --------------------------------------------------------------------------
. Using SFTP protocol.
. Doing startup conversation with host.
> Type: SSH_FXP_INIT, Size: 5, Number: -1
> 01,00,00,00,05,
< Type: SSH_FXP_VERSION, Size: 5, Number: -1
< 02,00,00,00,03,
. SFTP version 3 negotiated.
> Type: SSH_FXP_EXTENDED, Size: 38, Number: 200
> C8,00,00,00,C8,00,00,00,1D,77,69,6E,73,63,70,40,77,69,6E,73,63,70,2E,73,6F,
> 75,72,63,65,66,6F,72,67,65,2E,6E,65,74,
< Type: SSH_FXP_STATUS, Size: 38, Number: 200
< 65,00,00,00,C8,00,00,00,08,00,00,00,15,4F,70,65,72,61,74,69,6F,6E,20,75,6E,
< 73,75,70,70,6F,72,74,65,64,00,00,00,00,
< Status/error code: 8
. Server does not recognise WinSCP.
. Changing directory to "/".
. Getting real path for '/'
> Type: SSH_FXP_REALPATH, Size: 10, Number: 528
> 10,00,00,02,10,00,00,00,01,2F,
< Type: SSH_FXP_NAME, Size: 23, Number: 528
< 68,00,00,02,10,00,00,00,01,00,00,00,01,2F,00,00,00,01,2F,00,00,00,00,
. Real path is '/'
. Trying to open directory "/".
> Type: SSH_FXP_LSTAT, Size: 10, Number: 775
> 07,00,00,03,07,00,00,00,01,2F,
< Type: SSH_FXP_ATTRS, Size: 37, Number: 775
< 69,00,00,03,07,00,00,00,0F,00,00,00,00,00,00,01,F8,00,00,00,00,00,00,00,00,
< 00,00,41,ED,42,02,36,3B,41,A7,59,50,
. Getting current directory name.
. Listing directory "/".
> Type: SSH_FXP_OPENDIR, Size: 10, Number: 1035
> 0B,00,00,04,0B,00,00,00,01,2F,
< Type: SSH_FXP_HANDLE, Size: 13, Number: 1035
< 66,00,00,04,0B,00,00,00,04,00,00,00,00,
> Type: SSH_FXP_READDIR, Size: 13, Number: 1292
> 0C,00,00,05,0C,00,00,00,04,00,00,00,00,
< Type: SSH_FXP_NAME, Size: 2025, Number: 1292
< 68,00,00,05,0C,00,00,00,15,00,00,00,00,00,00,00,38,64,72,77,78,72,2D,78,72,
< 2D,78,20,20,20,31,39,20,72,6F,6F,74,20,20,20,20,20,72,6F,6F,74,20,20,20,20,
< 20,20,20,20,20,20,35,30,34,20,4E,6F,76,20,32,36,20,31,31,3A,32,36,20,00,00,
< 00,0F,00,00,00,00,00,00,01,F8,00,00,00,00,00,00,00,00,00,00,41,ED,42,02,36,
< 97,41,A7,59,50,00,00,00,00,00,00,00,38,64,72,77,78,72,2D,78,72,2D,78,20,20,
< 20,31,39,20,72,6F,6F,74,20,20,20,20,20,72,6F,6F,74,20,20,20,20,20,20,20,20,
< 20,20,35,30,34,20,4E,6F,76,20,32,36,20,31,31,3A,32,36,20,00,00,00,0F,00,00,
< 00,00,00,00,01,F8,00,00,00,00,00,00,00,00,00,00,41,ED,42,02,36,97,41,A7,59,
< 50,00,00,00,00,00,00,00,38,64,72,77,78,72,2D,78,72,2D,78,20,20,20,31,39,20,
< 72,6F,6F,74,20,20,20,20,20,72,6F,6F,74,20,20,20,20,20,20,20,20,20,20,35,30,
< 34,20,4E,6F,76,20,32,36,20,31,31,3A,32,36,20,00,00,00,0F,00,00,00,00,00,00,
< 01,F8,00,00,00,00,00,00,00,00,00,00,41,ED,42,02,36,97,41,A7,59,50,00,00,00,
< 00,00,00,00,38,64,72,77,78,72,2D,78,72,2D,78,20,20,20,31,39,20,72,6F,6F,74,
< 20,20,20,20,20,72,6F,6F,74,20,20,20,20,20,20,20,20,20,20,35,30,34,20,4E,6F,
< 76,20,32,36,20,31,31,3A,32,36,20,00,00,00,0F,00,00,00,00,00,00,01,F8,00,00,
< 00,00,00,00,00,00,00,00,41,ED,42,02,36,97,41,A7,59,50,00,00,00,00,00,00,00,
< 38,64,72,77,78,72,2D,78,72,2D,78,20,20,20,31,39,20,72,6F,6F,74,20,20,20,20,
< 20,72,6F,6F,74,20,20,20,20,20,20,20,20,20,20,35,30,34,20,4E,6F,76,20,32,36,
< 20,31,31,3A,32,36,20,00,00,00,0F,00,00,00,00,00,00,01,F8,00,00,00,00,00,00,
< 00,00,00,00,41,ED,42,02,36,97,41,A7,59,50,00,00,00,00,00,00,00,38,64,72,77,
< 78,72,2D,78,72,2D,78,20,20,20,31,39,20,72,6F,6F,74,20,20,20,20,20,72,6F,6F,
< 74,20,20,20,20,20,20,20,20,20,20,35,30,34,20,4E,6F,76,20,32,36,20,31,31,3A,
< 32,36,20,00,00,00,0F,00,00,00,00,00,00,01,F8,00,00,00,00,00,00,00,00,00,00,
< 41,ED,42,02,36,97,41,A7,59,50,00,00,00,00,00,00,00,38,64,72,77,78,72,2D,78,
< 72,2D,78,20,20,20,31,39,20,72,6F,6F,74,20,20,20,20,20,72,6F,6F,74,20,20,20,
< 20,20,20,20,20,20,20,35,30,34,20,4E,6F,76,20,32,36,20,31,31,3A,32,36,20,00,
< 00,00,0F,00,00,00,00,00,00,01,F8,00,00,00,00,00,00,00,00,00,00,41,ED,42,02,
< 36,97,41,A7,59,50,00,00,00,00,00,00,00,38,64,72,77,78,72,2D,78,72,2D,78,20,
< 20,20,31,39,20,72,6F,6F,74,20,20,20,20,20,72,6F,6F,74,20,20,20,20,20,20,20,
< 20,20,20,35,30,34,20,4E,6F,76,20,32,36,20,31,31,3A,32,36,20,00,00,00,0F,00,
< 00,00,00,00,00,01,F8,00,00,00,00,00,00,00,00,00,00,41,ED,42,02,36,97,41,A7,
< 59,50,00,00,00,00,00,00,00,38,64,72,77,78,72,2D,78,72,2D,78,20,20,20,31,39,
< 20,72,6F,6F,74,20,20,20,20,20,72,6F,6F,74,20,20,20,20,20,20,20,20,20,20,35,
< 30,34,20,4E,6F,76,20,32,36,20,31,31,3A,32,36,20,00,00,00,0F,00,00,00,00,00,
< 00,01,F8,00,00,00,00,00,00,00,00,00,00,41,ED,42,02,36,97,41,A7,59,50,00,00,
< 00,00,00,00,00,38,64,72,77,78,72,2D,78,72,2D,78,20,20,20,31,39,20,72,6F,6F,
< 74,20,20,20,20,20,72,6F,6F,74,20,20,20,20,20,20,20,20,20,20,35,30,34,20,4E,
< 6F,76,20,32,36,20,31,31,3A,32,36,20,00,00,00,0F,00,00,00,00,00,00,01,F8,00,
< 00,00,00,00,00,00,00,00,00,41,ED,42,02,36,97,41,A7,59,50,00,00,00,00,00,00,
< 00,38,64,72,77,78,72,2D,78,72,2D,78,20,20,20,31,39,20,72,6F,6F,74,20,20,20,
< 20,20,72,6F,6F,74,20,20,20,20,20,20,20,20,20,20,35,30,34,20,4E,6F,76,20,32,
< 36,20,31,31,3A,32,36,20,00,00,00,0F,00,00,00,00,00,00,01,F8,00,00,00,00,00,
< 00,00,00,00,00,41,ED,42,02,36,97,41,A7,59,50,00,00,00,00,00,00,00,38,64,72,
< 77,78,72,2D,78,72,2D,78,20,20,20,31,39,20,72,6F,6F,74,20,20,20,20,20,72,6F,
< 6F,74,20,20,20,20,20,20,20,20,20,20,35,30,34,20,4E,6F,76,20,32,36,20,31,31,
< 3A,32,36,20,00,00,00,0F,00,00,00,00,00,00,01,F8,00,00,00,00,00,00,00,00,00,
< 00,41,ED,42,02,36,97,41,A7,59,50,00,00,00,00,00,00,00,38,64,72,77,78,72,2D,
< 78,72,2D,78,20,20,20,31,39,20,72,6F,6F,74,20,20,20,20,20,72,6F,6F,74,20,20,
< 20,20,20,20,20,20,20,20,35,30,34,20,4E,6F,76,20,32,36,20,31,31,3A,32,36,20,
< 00,00,00,0F,00,00,00,00,00,00,01,F8,00,00,00,00,00,00,00,00,00,00,41,ED,42,
< 02,36,97,41,A7,59,50,00,00,00,00,00,00,00,38,64,72,77,78,72,2D,78,72,2D,78,
< 20,20,20,31,39,20,72,6F,6F,74,20,20,20,20,20,72,6F,6F,74,20,20,20,20,20,20,
< 20,20,20,20,35,30,34,20,4E,6F,76,20,32,36,20,31,31,3A,32,36,20,00,00,00,0F,
< 00,00,00,00,00,00,01,F8,00,00,00,00,00,00,00,00,00,00,41,ED,42,02,36,97,41,
< A7,59,50,00,00,00,00,00,00,00,38,64,72,77,78,72,2D,78,72,2D,78,20,20,20,31,
< 39,20,72,6F,6F,74,20,20,20,20,20,72,6F,6F,74,20,20,20,20,20,20,20,20,20,20,
< 35,30,34,20,4E,6F,76,20,32,36,20,31,31,3A,32,36,20,00,00,00,0F,00,00,00,00,
< 00,00,01,F8,00,00,00,00,00,00,00,00,00,00,41,ED,42,02,36,97,41,A7,59,50,00,
< 00,00,00,00,00,00,38,64,72,77,78,72,2D,78,72,2D,78,20,20,20,31,39,20,72,6F,
< 6F,74,20,20,20,20,20,72,6F,6F,74,20,20,20,20,20,20,20,20,20,20,35,30,34,20,
< 4E,6F,76,20,32,36,20,31,31,3A,32,36,20,00,00,00,0F,00,00,00,00,00,00,01,F8,
< 00,00,00,00,00,00,00,00,00,00,41,ED,42,02,36,97,41,A7,59,50,00,00,00,00,00,
< 00,00,38,64,72,77,78,72,2D,78,72,2D,78,20,20,20,31,39,20,72,6F,6F,74,20,20,
< 20,20,20,72,6F,6F,74,20,20,20,20,20,20,20,20,20,20,35,30,34,20,4E,6F,76,20,
< 32,36,20,31,31,3A,32,36,20,00,00,00,0F,00,00,00,00,00,00,01,F8,00,00,00,00,
< 00,00,00,00,00,00,41,ED,42,02,36,97,41,A7,59,50,00,00,00,00,00,00,00,38,64,
< 72,77,78,72,2D,78,72,2D,78,20,20,20,31,39,20,72,6F,6F,74,20,20,20,20,20,72,
< 6F,6F,74,20,20,20,20,20,20,20,20,20,20,35,30,34,20,4E,6F,76,20,32,36,20,31,
< 31,3A,32,36,20,00,00,00,0F,00,00,00,00,00,00,01,F8,00,00,00,00,00,00,00,00,
< 00,00,41,ED,42,02,36,97,41,A7,59,50,00,00,00,00,00,00,00,38,64,72,77,78,72,
< 2D,78,72,2D,78,20,20,20,31,39,20,72,6F,6F,74,20,20,20,20,20,72,6F,6F,74,20,
< 20,20,20,20,20,20,20,20,20,35,30,34,20,4E,6F,76,20,32,36,20,31,31,3A,32,36,
< 20,00,00,00,0F,00,00,00,00,00,00,01,F8,00,00,00,00,00,00,00,00,00,00,41,ED,
< 42,02,36,97,41,A7,59,50,00,00,00,00,00,00,00,38,64,72,77,78,72,2D,78,72,2D,
< 78,20,20,20,31,39,20,72,6F,6F,74,20,20,20,20,20,72,6F,6F,74,20,20,20,20,20,
< 20,20,20,20,20,35,30,34,20,4E,6F,76,20,32,36,20,31,31,3A,32,36,20,00,00,00,
< 0F,00,00,00,00,00,00,01,F8,00,00,00,00,00,00,00,00,00,00,41,ED,42,02,36,97,
< 41,A7,59,50,00,00,00,00,00,00,00,38,64,72,77,78,72,2D,78,72,2D,78,20,20,20,
< 31,39,20,72,6F,6F,74,20,20,20,20,20,72,6F,6F,74,20,20,20,20,20,20,20,20,20,
< 20,35,30,34,20,4E,6F,76,20,32,36,20,31,31,3A,32,36,20,00,00,00,0F,00,00,00,
< 00,00,00,01,F8,00,00,00,00,00,00,00,00,00,00,41,ED,42,02,36,97,41,A7,59,50,
> Type: SSH_FXP_READDIR, Size: 13, Number: 1548
> 0C,00,00,06,0C,00,00,00,04,00,00,00,00,
< Type: SSH_FXP_STATUS, Size: 28, Number: 1548
< 65,00,00,06,0C,00,00,00,01,00,00,00,0B,45,6E,64,20,6F,66,20,66,69,6C,65,00,
< 00,00,00,
< Status/error code: 1
> Type: SSH_FXP_CLOSE, Size: 13, Number: 1796
> 04,00,00,07,04,00,00,00,04,00,00,00,00,
. Startup conversation with host finished.
. Closing connection.