Using sftp through HTTP authenticating proxy

stan gryt2 at q.com
Thu Oct 22 23:08:38 UTC 2009


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.




More information about the fedora-list mailing list