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

Thanks for info.
davidsrsb

I created a new session with SSH version 2 only and it worked

Looking up host "192.168.0.3"
Connecting to 192.168.0.3 port 22
Server version: SSH-1.99-OpenSSH_4.1
We claim version: SSH-2.0-WinSCP_release_3.7.6
Using SSH protocol version 2
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange
Asking user:
The server's host key was not found in the cache. You have no guarantee that the server is the computer you think it is.

The server's rsa2 key fingerprint is:
ssh-rsa 1024 57:a1:b6:34:ff:7e:1d:a4:6c:8e:e7:a1:a1:b4:48:6d

If you trust this host, press Yes. To connect without adding host key to the cache, press No. To abandon the connection press Cancel.

Continue connecting and add host key to the cache? ()
Host key fingerprint is:
ssh-rsa 1024 57:a1:b6:34:ff:7e:1d:a4:6c:8e:e7:a1:a1:b4:48:6d
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 (root@192.168.0.3's password: )
Asking user for 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.
We believe the server has signed timestamps bug
We will use UTF-8 strings for status messages only
Limiting packet size to OpenSSH limit of 262148 bytes
Getting current directory name.
martin

Re: 3.7.6 fails with Slackware 10.1 server, 3.7.4 worked

Thanks. It seems to be SSH-1-specific problem. Can you you try SSH-2?
davidsrsb

and the 3.7.4 log for comparisson
--------------------------------------------------------------------------
WinSCP Version 3.7.4 (Build 271) (OS 4.90.73010104)
Login time: Monday, August 22, 2005 2:24:02 PM
--------------------------------------------------------------------------
Session name: lithium
Host name: 192.168.0.3 (Port: 22)
User name: root (Password: No, Key file: No)
Transfer Protocol: SFTP (SCP)
SSH protocol version: 1; 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 "192.168.0.3"
Connecting to 192.168.0.3 port 22
Server version: SSH-1.99-OpenSSH_4.1
We claim version: SSH-1.5-WinSCP_release_3.7.4
Using SSH protocol version 1
Received public keys
Host key fingerprint is:
1024 df:c7:14:7d:4d:67:51:9d:a6:00:f4:cb:be:c6:11:0f
Encrypted session key
AES not supported in SSH1, skipping
Using Blowfish encryption
Trying to enable encryption...
Initialised Blowfish encryption
Installing CRC compensation attack detector
Successfully started encryption
Sent username "root"
Session password prompt (root@192.168.0.3's password: )
Asking user for password.
Sending password with camouflage packets
Sent password
Authentication successful
Started session
--------------------------------------------------------------------------
Using SCP protocol.
Doing startup conversation with host.
Skipping host startup message (if any).
echo "WinSCP: this is end-of-file:0"
WinSCP: this is end-of-file:0
Detecting variable containing return code of last command.
Trying "$status".
echo "$status" ; echo "WinSCP: this is end-of-file:0"
WinSCP: this is end-of-file:0
davidsrsb

3.7.6 fails with Slackware 10.1 server, 3.7.4 worked

3.7.6 log
--------------------------------------------------------------------------
WinSCP Version 3.7.6 (Build 306) (OS 4.90.73010104)
Login time: Tuesday, August 23, 2005 2:24:00 PM
--------------------------------------------------------------------------
Session name: lithium
Host name: 192.168.0.3 (Port: 22)
User name: root (Password: No, Key file: No)
Transfer Protocol: SFTP (SCP)
SSH protocol version: 1; 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 "192.168.0.3"
Connecting to 192.168.0.3 port 22
Server version: SSH-1.99-OpenSSH_4.1
We claim version: SSH-1.5-WinSCP_release_3.7.6
Using SSH protocol version 1
Received public keys
Host key fingerprint is:
1024 df:c7:14:7d:4d:67:51:9d:a6:00:f4:cb:be:c6:11:0f
Encrypted session key
AES not supported in SSH-1, skipping
Using Blowfish encryption
Trying to enable encryption...
Initialised Blowfish encryption
Installing CRC compensation attack detector
Successfully started encryption
Sent username "root"
Session password prompt (root@192.168.0.3's password: )
Asking user for password.
Sending password with camouflage packets
Sent password
Authentication successful
Started session
--------------------------------------------------------------------------
Using SFTP protocol.
Doing startup conversation with host.
Type: SSH_FXP_INIT, Size: 5, Number: -1
usage: sftp [-1Cv] [-B buffer_size] [-b batchfile] [-F ssh_config]
[-o ssh_option] [-P sftp_server_path] [-R num_requests]
[-S program] [-s subsystem | sftp_server] host
sftp [[user@]host[:file [file]]]
sftp [[user@]host[:dir[/]]]
sftp -b batchfile [user@]host
Server sent command exit status 1
Server closed network connection
(ESshFatal) Cannot initialize SFTP protocol. Is the host running a SFTP server?
Connection has been unexpectedly closed. Server sent command exit status 1.