Xftp Forum

SFTP does not work via proxy(http1.1)

Last post: Tuesday, December 27, 2011 2:06 AM by unya, 3 reply

Sunday, November 27, 2011 5:40 PM - michi

SFTP does not work via proxy(http1.1)

here is log.
STATUS:> Session started...
STATUS:> Resolving the host 'x.y.z'...
ERROR:> Cannot find the IP address of the host 'x.y.z'.

Despite the connection is xftp proxy, and unsuccessful attempts to resolve the host name.

When the connection proxy, from the internal LAN has failed because you can not see the Internet DNS.

when If I know the ip address and could connect to the same host.
STATUS:> Session started...
STATUS:> Resolving the host '210.....'...
STATUS:> Connecting to the server '210.....' (proxy : Proxy.sso)...
STATUS:> Version exchange initiated...
STATUS:> server: SSH-2.0-OpenSSH_5.1p1 Debian-5
STATUS:> client: SSH-2.0-nsssh2_4.0.0020 NetSarang Computer, Inc.
STATUS:> SSH2 is selected.
STATUS:> Algorithm negotiation initiated...
STATUS:> key exchange: diffie-hellman-group14-sha1
STATUS:> host key: ssh-dss
STATUS:> outgoing encryption: aes128-cbc
STATUS:> incoming encryption: aes128-cbc
STATUS:> outgoing mac: hmac-sha1
STATUS:> incoming mac: hmac-sha1
STATUS:> outgoing compression: none
STATUS:> incoming compression: none
STATUS:> Host authentication initiated...
STATUS:> Hostkey fingerprint:
STATUS:> ssh-dsa 1024 ........
STATUS:> Authenticating for ''...
STATUS:> Accepted. Verifying host key...
STATUS:> Verified.
STATUS:> User authentication initiated...
STATUS:> Sent user name 'user'.
STATUS:> Server support public key authentication method.
STATUS:> Trying to find ssh-agent...
STATUS:> Xagent is running. Connecting to ssh-agent...
STATUS:> Received 0 identity-blob(s) from ssh-agent.
STATUS:> No more keys to try.
STATUS:> Fall back to normal user authentication steps.
STATUS:> Sent password.
STATUS:> Access granted.
STATUS:> SFTP version 3 negotiated.
STATUS:> Listing folder ''...
STATUS:> Listing folder completed.

Program Ver. : Xftp 4
Tuesday, November 29, 2011 1:27 AM - Support

Re: SFTP does not work via proxy(http1.1)

We acknowledge there is a problem with connecting through HTTP proxy. We have tested on HTTP proxy running locally and tried connecting to remote SFTP server and Xftp failed to log on to the proxy server.

This problem has been reported and fix should be available soon.

Technical Support
Thursday, December 15, 2011 1:25 AM - Support

Re: SFTP does not work via proxy(http1.1)

It turned out our problem is different from yours. Our problem was cause by HTTP Proxy because it does not support multiple logins for the same account.

To access your server with hostname, your PC must be able to the domain name regardless of where the proxy server is located. You can do this by adding the host in the hosts file.

To do this, open the C:\Windows\System32\drivers\etc file with administrator right and add the following line in the end:


For example, x.y.z

After adding this entry, you will be able to resolve x.y.z in Xshell and other
Windows applications.

Technical Support
Tuesday, December 27, 2011 2:06 AM - unya

Re: SFTP does not work via proxy(http1.1)

network environment is here

xsftp --> [ HTTP proxy ] --> [ Internet ] --> [ sftp(ssh) server (x.y.z) ]

xsftp could not make tunnel to Internet sftp-server.
proxy-tunnel-process has problem, I think.
xsftp no need resolving hostname via HTTP-proxy

because xshell is no problem, same server(x.y.z).
xshell is connecting through HTTP-proxy and no resolved hostname(x.y.z)
xshell --> [ HTTP proxy ] --> [ Internet ] --> [ sftp(ssh) server (x.y.z) ]