Topic "Cannot initialize SFTP protocol."

Author Message
Jmiller76
[View user's profile]

Joined: 2008-07-30
Posts: 4
I am running 4.2.9 but upgraded and still have this problem.
Normal command line connection works with PSFTP.
This does have password and key.
The log(below) points to expecting a "SSH2 ignore" bug. I don't see any of the bug options matching this name to try and disable the detection.
Error seems to be directly after "Doing startup conversation with host"

Site admin (external) is reporting that they see the login finish then immediatly close.

Because this works in PSFtp, I expect there is some setting that would need to be modified, but the errors aren't pointing a direction that seems "searchable"

Thanks,
Josh

. 2011-01-03 16:20:10.741 WinSCP Version 4.3.0 (Build 1029) (OS 6.1.7600)
. 2011-01-03 16:20:10.741 Login time: Monday, January 03, 2011 4:20:10 PM
. 2011-01-03 16:20:10.741 --------------------------------------------------------------------------
. 2011-01-03 16:20:10.741 Session name: ***SNIP***
. 2011-01-03 16:20:10.741 Host name: qadatatransfer.rbs.com (Port: 10022)
. 2011-01-03 16:20:10.741 User name: ***SNIP*** (Password: Yes, Key file: Yes)
. 2011-01-03 16:20:10.741 Tunnel: No
. 2011-01-03 16:20:10.741 Transfer Protocol: SFTP (SCP)
. 2011-01-03 16:20:10.741 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2011-01-03 16:20:10.741 Proxy: none
. 2011-01-03 16:20:10.742 SSH protocol version: 2; Compression: No
. 2011-01-03 16:20:10.742 Bypass authentication: No
. 2011-01-03 16:20:10.742 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2011-01-03 16:20:10.742 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2011-01-03 16:20:10.742 SSH Bugs: -,-,-,-,-,-,-,-,-
. 2011-01-03 16:20:10.742 SFTP Bugs: -,-
. 2011-01-03 16:20:10.742 Return code variable: Autodetect; Lookup user groups: Yes
. 2011-01-03 16:20:10.742 Shell: default
. 2011-01-03 16:20:10.742 EOL: 0, UTF: 2
. 2011-01-03 16:20:10.742 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2011-01-03 16:20:10.742 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2011-01-03 16:20:10.742 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2011-01-03 16:20:10.742 Cache directory changes: Yes, Permanent: Yes
. 2011-01-03 16:20:10.742 DST mode: 1
. 2011-01-03 16:20:10.742 --------------------------------------------------------------------------
. 2011-01-03 16:20:10.782 Looking up host "qadatatransfer.rbs.com"
. 2011-01-03 16:20:10.802 Connecting to 128.167.105.165 port 10022
. 2011-01-03 16:20:10.915 Server version: SSH-2.0-Maverick_SSHD
. 2011-01-03 16:20:10.915 We believe remote version has SSH-2 ignore bug
. 2011-01-03 16:20:10.916 Using SSH protocol version 2
. 2011-01-03 16:20:10.916 We claim version: SSH-2.0-WinSCP_release_4.3
. 2011-01-03 16:20:10.984 Doing Diffie-Hellman group exchange
. 2011-01-03 16:20:11.209 Doing Diffie-Hellman key exchange with hash SHA-1
. 2011-01-03 16:20:11.356 Host key fingerprint is:
. 2011-01-03 16:20:11.356 ssh-rsa 1023 b2:b8:01:1f:63:3c:46:b9:43:ae:28:d8:24:e9:54:ce
. 2011-01-03 16:20:11.356 Initialised AES-256 CBC client->server encryption
. 2011-01-03 16:20:11.356 Initialised HMAC-SHA1 client->server MAC algorithm
. 2011-01-03 16:20:11.402 Initialised AES-256 CBC server->client encryption
. 2011-01-03 16:20:11.402 Initialised HMAC-SHA1 server->client MAC algorithm
. 2011-01-03 16:20:11.468 Reading private key file "H:\data\utilities\psftp-private.ppk"
! 2011-01-03 16:20:11.474 Using username "***SNIP***".
. 2011-01-03 16:20:11.766 Offered public key
. 2011-01-03 16:20:12.404 Offer of public key accepted
! 2011-01-03 16:20:12.404 Authenticating with public key "rsa-key-20061211"
! 2011-01-03 16:20:13.224 Further authentication required
. 2011-01-03 16:20:13.228 Further authentication required
. 2011-01-03 16:20:13.228 Prompt (6, SSH password, , &Password: )
. 2011-01-03 16:20:13.228 Using stored password.
. 2011-01-03 16:20:13.232 Sent password
. 2011-01-03 16:20:13.405 Access granted
. 2011-01-03 16:20:13.470 Opened channel for session
. 2011-01-03 16:20:14.415 Started a shell/command
. 2011-01-03 16:20:14.418 --------------------------------------------------------------------------
. 2011-01-03 16:20:14.418 Using SFTP protocol.
. 2011-01-03 16:20:14.419 Doing startup conversation with host.
> 2011-01-03 16:20:14.422 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2011-01-03 16:20:14.731 Type: SSH_FXP_STATUS, Size: 111, Number: 0
. 2011-01-03 16:20:14.731 Attempt to close connection due to fatal exception:
* 2011-01-03 16:20:14.731 Cannot initialize SFTP protocol. Is the host running a SFTP server?
* 2011-01-03 16:20:14.731 (Exception) Error decoding SFTP packet (111, 4, 111).
. 2011-01-03 16:20:14.731 Closing connection.
. 2011-01-03 16:20:14.731 Sending special code: 12
. 2011-01-03 16:20:14.731 Sent EOF message
* 2011-01-03 16:20:14.740 (ESshFatal) Error decoding SFTP packet (111, 4, 111).
* 2011-01-03 16:20:14.740 Cannot initialize SFTP protocol. Is the host running a SFTP server?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Can you set logging level to Debug 2 and email me the log file?

You will find my address (if you log in) in my forum profile.
_________________
Martin Prikryl
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
For details about error message "Cannot initialize SFTP protocol. Is the host running a SFTP server?" see:
https://winscp.net/eng/docs/message_cannot_initialize_sftp_protocol
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License