Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PuTTY with HTTP Proxy

519 views
Skip to first unread message

Christopher Stookey

unread,
Oct 17, 2002, 3:05:59 PM10/17/02
to
Please redirect me if this question has been entered elsewhere.

I am on a Windows 2000 platform and I am attempting to use PSFTP to do
a file transfer through an HTTP proxy. I have set up a saved session
in PuTTY (version 0.53) and am calling the session via the command
line:

psftp [username]@[sessionname] -v

The message returned is:

Looking up host "[host.name]"
ssh_init: Host does not exist

In the saved session I have the following options set:

Session Panel
-------------
Port: 22
Protocol: SSH
Host name is specified.

Proxy Panel
-----------
Proxy Type: HTTP
Port: 80
Proxy host name is specified.
Username and Password are set.

It looks like the PuTTY session is ignoring my proxy information and
looking for the host name inside the firewall (which, of course, it
can't find). Is this what is happening? Or have I missed something?

I have been able to configure another secure FTP program to go through
the proxy server on port 80, so I know that it is possible.

Any help you can give would be great. Thanks!

Christopher Stookey
christoph...@wellsfargo.com
My opinions are my own and do not reflect the opinions of Wells Fargo.

Jacob Nevins

unread,
Oct 19, 2002, 6:02:20 AM10/19/02
to
Christopher Stookey <christoph...@wellsfargo.com> writes:
>It looks like the PuTTY session is ignoring my proxy information and
>looking for the host name inside the firewall (which, of course, it
>can't find).

I assume from this statement that your client system is configured
such that it can only look up the host name of the proxy, not of
random external hosts. (This is not the only possible configuration.)

PuTTY is probably not ignoring the proxy configuration entirely. It
does attempt the hostname lookup itself rather than leaving it to the
proxy, though. We do plan to make it configurable who does the lookup
but haven't got round to it yet. Workaround for now is of course to
specify the target host by IP address rather than hostname.
<http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/proxy-lookup.html>

Christopher Stookey

unread,
Oct 23, 2002, 10:34:17 AM10/23/02
to
Jacob Nevins <jac...@chiark.greenend.org.uk> wrote in message news:<8Km*RT...@news.chiark.greenend.org.uk>...

> Workaround for now is of course to
> specify the target host by IP address rather than hostname.

That worked. I got through to the external host. Thank you!

Christopher Stookey
christoph...@wellsfargo.com

0 new messages