multi-hop ssh port forwards?
Bill McGonigle
bill at bfccomputing.com
Mon Oct 18 11:35:01 EDT 2004
On Oct 18, 2004, at 10:41, Matt Brodeur wrote:
> I think you're looking for something like this:
>
> $ ssh -L 8000:localhost:8000 myserver ssh -L 8000:insideserver:80
> bastion
Yeah, that's what I thought would work, but empirically doesn't. ssh
tells me something like:
channel 2: open failed: connect failed: Connection refused
BTW, throw in a -t on the first ssh to get the multi-hop terminal
working. I've also tried "AllowTCPForwarding yes" and "GatewayPorts
yes". I have a vague suspicion about TCP source ports but I haven't
formulated any theories.
-Bill
----
Bill McGonigle, Owner Work: 603.448.4440
BFC Computing, LLC Home: 603.448.1668
bill at bfccomputing.com Cell: 603.252.2606
http://www.bfccomputing.com/ Text: bill+text at bfccomputing.com
More information about the gnhlug-discuss
mailing list