Topic "Cannot connect to IPSwitch WS_FTP server using WinSCP in SSH"

Author Message
t0mm0

Guest


I am unable to connect to an IPSwitch WS_FTP Server using WinSCP in SSH mode.

If I use WinSCP in standard FTP mode it connects without any problems. If I change it to use SSH then it connects to the server but times out complaining that the server is not responding.

I am able to connect to the SSH server using WS_FTP Professional 2007 and SmartFTP.

I have turned the logging in WS_FTP Server to be verbose but the only message I receive is "Connection established".

Any help would be gratefully received.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Please post a log file from WinSCP.
_________________
Martin Prikryl
Guest




Martin,

Below is the log from an attempt connecttion with WinSCP:

. 2008-07-14 22:23:14.875 --------------------------------------------------------------------------
. 2008-07-14 22:23:14.875 WinSCP Version 4.1.5 (Build 410) (OS 5.1.2600 Service Pack 3)
. 2008-07-14 22:23:14.875 Login time: 14 July 2008 22:23:14
. 2008-07-14 22:23:14.875 --------------------------------------------------------------------------
. 2008-07-14 22:23:14.875 Session name: test@111.111.111.80
. 2008-07-14 22:23:14.875 Host name: 111.111.111.80 (Port: 22)
. 2008-07-14 22:23:14.875 User name: test (Password: Yes, Key file: No)
. 2008-07-14 22:23:14.875 Tunnel: No
. 2008-07-14 22:23:14.875 Transfer Protocol: SFTP (SCP)
. 2008-07-14 22:23:14.875 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2008-07-14 22:23:14.875 Proxy: none
. 2008-07-14 22:23:14.875 SSH protocol version: 2; Compression: No
. 2008-07-14 22:23:14.875 Bypass authentication: No
. 2008-07-14 22:23:14.875 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2008-07-14 22:23:14.875 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2008-07-14 22:23:14.875 SSH Bugs: -,-,-,-,-,-,-,-
. 2008-07-14 22:23:14.875 SFTP Bugs: -,-
. 2008-07-14 22:23:14.875 Return code variable: Autodetect; Lookup user groups: Yes
. 2008-07-14 22:23:14.875 Shell: default, EOL: 0
. 2008-07-14 22:23:14.875 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2008-07-14 22:23:14.875 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2008-07-14 22:23:14.875 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2008-07-14 22:23:14.875 Cache directory changes: Yes, Permanent: Yes
. 2008-07-14 22:23:14.875 DST mode: 1
. 2008-07-14 22:23:14.875 --------------------------------------------------------------------------
. 2008-07-14 22:23:14.922 Looking up host "111.111.111.80"
. 2008-07-14 22:23:14.922 Connecting to 111.111.111.80 port 22
. 2008-07-14 22:23:14.969 Selecting events 63 for socket 556
. 2008-07-14 22:23:14.969 Waiting for the server to continue with the initialisation
. 2008-07-14 22:23:14.969 Looking for incoming data
. 2008-07-14 22:23:14.969 Looking for network events
. 2008-07-14 22:23:14.969 Detected network event
. 2008-07-14 22:23:14.969 Enumerating network events for socket 556
. 2008-07-14 22:23:14.969 Enumerated 18 network events making 18 cumulative events for socket 556
. 2008-07-14 22:23:14.969 Handling network write event on socket 556 with error 0
. 2008-07-14 22:23:14.969 Handling network connect event on socket 556 with error 0
. 2008-07-14 22:23:14.969 Looking for network events
. 2008-07-14 22:23:15.015 Detected network event
. 2008-07-14 22:23:15.015 Enumerating network events for socket 556
. 2008-07-14 22:23:15.015 Enumerated 1 network events making 1 cumulative events for socket 556
. 2008-07-14 22:23:15.015 Handling network read event on socket 556 with error 0
. 2008-07-14 22:23:15.015 Waiting for the server to continue with the initialisation
. 2008-07-14 22:23:15.015 Looking for incoming data
. 2008-07-14 22:23:15.015 Looking for network events
. 2008-07-14 22:23:30.016 Timeout waiting for network events
. 2008-07-14 22:23:30.016 Waiting for data timed out, asking user what to do.
. 2008-07-14 22:23:30.016 Asking user:
. 2008-07-14 22:23:30.016 Host has not answered for 15 seconds.
. 2008-07-14 22:23:30.016
. 2008-07-14 22:23:30.016 Wait for another 15 seconds? ()
. 2008-07-14 22:23:30.516 Pooling for data in case they finally arrives
. 2008-07-14 22:23:30.516 Looking for network events
. 2008-07-14 22:23:30.516 Timeout waiting for network events
. 2008-07-14 22:23:31.047 Pooling for data in case they finally arrives

And below is a sucessfully connection using SmartFTP Client straight after:

[22:29:40] SmartFTP v3.0.1020.2
[22:29:40] Resolving host name "111.111.111.80"
[22:29:40] Connecting to 111.111.111.80 Port: 22
[22:29:40] Starting SSH session. Remote Id: "SSH-2.0"
[22:29:41] Initiating key exchange.
[22:29:42] Computing session key.
[22:29:42] Key Exchange Algorithm: diffie-hellman-group1-sha1
[22:29:42] Key exchange completed.
[22:29:42] Host Key Algorithm: ssh-rsa
[22:29:42] Client to Server Encryption: aes256-cbc
[22:29:42] Server to Client Encryption: aes256-cbc
[22:29:42] Session HMAC: hmac-sha1
[22:29:42] Client to Server Compression: none
[22:29:42] Server to Client Compression: none
[22:29:42] Authentication request. Method: "none"
[22:29:43] Server supported authentications: publickey,password
[22:29:43] Authentication request. Method: "password"
[22:29:43] User authentication successful.
[22:29:43] SSH session established.
[22:29:43] Connected to 111.111.111.80
[22:29:43] SFTP protocol version 4
[22:29:43] Detected Server Software: Unknown
[22:29:43] Resolving path "/localuser/test".
[22:29:44] Path successfully resolved.
[22:29:44] Reading directory "/localuser/test".
[22:29:44] 145 bytes transferred. (1.29 KB/s) (109 ms)
[22:29:44] Directory listing complete.

Thanks for your help.
t0mm0

Guest


Martin,

I was able to solve the issue by deleting the SSH listener on the server and recreating it.

Thanks for your time.
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