multi-hop ssh port forwards?
Matt Brodeur
mbrodeur at NextTime.com
Mon Oct 18 12:00:01 EDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, Oct 18, 2004 at 11:34:08AM -0400, Bill McGonigle wrote:
> 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
Hmmm, WORKSFORME. I just tested this command:
ssh -C -x -t -L 8000:localhost:8000 $LOCALSERVER \
ssh -L 8000:$REMOTESERVER:80 $BASTION
...and it works as expected. Your error indicates that one of the
port redirectors is being blocked. The most likely one is that your
bastion host can't access port 80 on the internal host. Firewall
rules on the bastion, maybe? Is the remote server actually listening
on port 80?
- --
Matt Brodeur RHCE
MBrodeur at NextTime.com http://www.NextTime.com
It's not hard to meet expenses, they're everywhere.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBc+hCc8/WFSz+GKMRAhfHAJ9/Im001t54GmAplmCHyB3XRFKGNgCgqD1Q
VnYHxZX1Shj8X7sVJp6pF+4=
=8bVy
-----END PGP SIGNATURE-----
More information about the gnhlug-discuss
mailing list