Using sftp through HTTP authenticating proxy

Donald Russell russell.don at gmail.com
Fri Oct 23 02:22:53 UTC 2009


On Thu, Oct 22, 2009 at 16:08, stan <gryt2 at q.com> wrote:

> On Thu, 22 Oct 2009 15:26:54 -0700
> Donald Russell <russell.don at gmail.com> wrote:
>
> > I'd like to use sftp to connect to a system on the outside but have
> > to go through an HTTP proxy.
> >
> > When I try to connect, I get an error back from the proxy server
> > saying Authentication is required.
> >
> > nc: Proxy error: "HTTP/1.1 407 Proxy Authentication Required"
> > ssh_exchange_identification: Connection closed by remote host
> >
> > The question is: How/where do I specify the userid/password for this
> > authentication?
> >
>
> I think you want the -o option of sftp, and specify
> PasswordAuthentication.  man sftp seems to have lots of necessary
> information and options.  It seems you might be able to do this with
> keys instead of password.
>
>
I tried using that option, as a -o option on the sftp command and also in
the ~/.ssh/config file for the host... it didn't make a (noticeable)
difference.

You may be on to something... but there's just more to it...

Cheers,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20091022/9c7344df/attachment-0001.html 


More information about the users mailing list