[CLUE-Tech] ssh port forwarding

Kevin Fenzi kevin at scrye.com
Fri Oct 22 19:57:11 MDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Mark" == Mark Gibson <mark at dimensional.com> writes:

Mark> I'm trying to forward an unprivileged port to another machine:
Mark> ssh root at vch1p050.xxx.com -L 8080:vch1p050.xxx.com:8080

Mark> This *used* to work.  Now, if I try to access port 8080 from my
Mark> local machine, I get

Mark> channel 2: open failed: connect failed: Connection refused

Mark> I'm certain there is a sever listening on that port on the
Mark> remote machine.

Mark> Can someone give me some clues as to what to look for?

I ran into something like this in the last few weeks. 

By any chance is the remote machine a fedora core 2 box? Or otherwise
a machine with a ipv6 address? (fc2 brings up all the ipv4 interfaces
with a ipv6 interface as well)

If so, try: 

ssh -4 root at vch1p050.xxx.com -L 8080:vch1p050.xxx.com:8080

See if that helps. That tells ssh to only use ipv4, and not bind to
ipv6. 

Mark> Thanks, Mark -- Mark Gibson <mark at dimensional.com>

kevin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFBebp53imCezTjY0ERAonaAJ9bsQ3ekZHHFsbCLlpywFnkSK1AagCdFvpB
yNE5xf+OKjX4n6XkWk3HP5A=
=5stS
-----END PGP SIGNATURE-----



More information about the clue-tech mailing list