server does not support SFTP extension

Advertisement

festiva94
Joined:
Posts:
4

server does not support SFTP extension

Any help is appreciated -

Client is - WinSCP3.7.2 (Build 262)

Server is - OpenSSH 3.7.1p2

I login and authenticate successfully but the directory listing is empty and it does not show any of the directory structure on the server using the gui. Same result from command line sftp.

When I drag and drop a file, the file is transferred but I do not see it in the window. I use the command line to verify the file was successfully transferred.

WinSCP>Commands>Server/Protocol Information says that "The server does not support any SFTP extension". SFTP is Version 3 and SSH Protocol is 2. Any ideas on why I am unable to see the directory listing?

Reply with quote

Advertisement

festiva94
Joined:
Posts:
4

Re: server does not support SFTP extension

martin wrote:

What is your server? On what OS? Can you post a log file?

Server is a Intel box running Linux kernel 2.4.22. Log file from WinSCP is below. The log file was me simply logging in via the WinSCP GUI>I then saw a listing of directories but there were no names associated with what I saw>I went up one directory>I saw no entries even though I know they exist.
. --------------------------------------------------------------------------
. WinSCP Version 3.7.2 (Build 262) (OS 5.0.2195 Service Pack 4)
. Login time: Thursday, February 03, 2005 8:48:51 AM
. --------------------------------------------------------------------------
. Session name: [email protected]
. Host name: x.x.x.x (Port: 22)
. User name: xxxxxxxxx (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: home, Update: No, Cache: Yes
. Cache directory changes: Yes, Permanent: Yes
. 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 xxxx
. 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 "xxxxxxxx".
. Keyboard-interactive authentication refused
. Session password prompt ([email protected]'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
< Type: SSH_FXP_VERSION, Size: 5, Number: -1
. SFTP version 3 negotiated.
> Type: SSH_FXP_EXTENDED, Size: 38, Number: 200
< Type: SSH_FXP_STATUS, Size: 38, Number: 200
< Status/error code: 8
. Server does not recognise WinSCP.
. Getting current directory name.
. Getting real path for '.'
> Type: SSH_FXP_REALPATH, Size: 10, Number: 528
< Type: SSH_FXP_NAME, Size: 31, Number: 528
. Real path is '/root'
. Listing directory "/root".
> Type: SSH_FXP_OPENDIR, Size: 14, Number: 779
< Type: SSH_FXP_HANDLE, Size: 13, Number: 779
> Type: SSH_FXP_READDIR, Size: 13, Number: 1036
< Type: SSH_FXP_NAME, Size: 873, Number: 1036
> Type: SSH_FXP_READDIR, Size: 13, Number: 1292
< Type: SSH_FXP_STATUS, Size: 28, Number: 1292
< Status/error code: 1
> Type: SSH_FXP_CLOSE, Size: 13, Number: 1540
. Startup conversation with host finished.
. Changing directory to home directory.
. Getting real path for '/root'
> Type: SSH_FXP_REALPATH, Size: 14, Number: 1808
< Type: SSH_FXP_STATUS, Size: 24, Number: 1540
. Discarding reserved response
< Type: SSH_FXP_NAME, Size: 31, Number: 1808
. Real path is '/root'
. Trying to open directory "/root".
> Type: SSH_FXP_LSTAT, Size: 14, Number: 2055
< Type: SSH_FXP_ATTRS, Size: 37, Number: 2055
. Getting current directory name.
. Directory content loaded from cache.
. Cached directory change via ".." to "/".
. Getting current directory name.
. Listing directory "/".
> Type: SSH_FXP_OPENDIR, Size: 10, Number: 2315
< Type: SSH_FXP_HANDLE, Size: 13, Number: 2315
> Type: SSH_FXP_READDIR, Size: 13, Number: 2572
< Type: SSH_FXP_NAME, Size: 2025, Number: 2572
> Type: SSH_FXP_READDIR, Size: 13, Number: 2828
< Type: SSH_FXP_STATUS, Size: 28, Number: 2828
< Status/error code: 1
> Type: SSH_FXP_CLOSE, Size: 13, Number: 3076
. Closing connection.

Reply with quote