ProxyCommand

David Woodhouse dwmw2 at infradead.org
Tue Mar 18 01:14:03 EST 2003


On Mon, 2003-03-17 at 13:56, Stephan Hendl wrote:
> Hi all,
> 
> I tried to use the ProxyCommand option in the ~/.ssh/config file like
> 
> ProxyCommand /usr/local/bin/corkscrew <firewall> 80 %h %p
> 
> but it seems th me that the ssh clinet won't use the option
> .. How can I tell the client to accept the proxy  an send all requests to this host, bcause the internet names ("%P") cannot be resolved inside our lan - this must do the proxy.

Works for me in the opposite direction (_into_ RFC1918 network, not
out)...

 Host *.<domain>.internal
  ProxyCommand ssh <bastionhost> exec netcat %h %p


Try.... 

 Host *
  ProxyCommand /usr/local/bin/corkscrew <firewall> 80 %h %p


-- 
dwmw2




More information about the openssh-unix-dev mailing list