Using sftp through HTTP authenticating proxy

Matt Domsch Matt_Domsch at dell.com
Tue Oct 27 02:26:34 UTC 2009


On Thu, Oct 22, 2009 at 03:26:54PM -0700, Donald Russell 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?

yum install corkscrew
man corkscrew

You have to tunnel ssh over https to get through your proxy.  Your
proxy may also require that your ssh+https destination be listening on
port 443, meaning you'll have to have your target system run sshd and
listen on port 443 (in addition to listening on port 22).

-- 
Matt Domsch
Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux




More information about the fedora-list mailing list