SSH port forwarding/tunneling
From: Captain Dondo (yan_at_NsOeSiPnAeMr.com)
Date: 10/31/05
- Next message: Stuart Scharf: "Two Factor Security"
- Previous message: Uwe Stoeckel: "Re: [Q] Eudora SSL Negotiation fails"
- Next in thread: Pascal Bourguignon: "Re: SSH port forwarding/tunneling"
- Reply: Pascal Bourguignon: "Re: SSH port forwarding/tunneling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 31 Oct 2005 07:18:18 -0800
I've got a question about port forwarding....
I have a machine that will be located remotely. I have ssh installed
on this machine. I cannot install any sort of VPN on this machine.
The machine will be behind a firewall, so I need a way to access this
machine.
What I'd like to do is set up a persistent ssh connection to my server,
and then portforward back through this connection so I can connect to the
ssh server on the machine.....
One more time:
machine A is at my desk.
machine B is far, far away.
Machine B connects to machine A via ssh, forwarding some port that
connects back to itself....
I use ssh localhost -p someport on machine A to log into machine B.
I've been playing around with all sorts of ways to try to portforward
using -L and -R, but I always get something that doesn't work or a message
that the port cannot be forwarded.....
I've found all sorts of docs on how to forwards ports if I want to tunnel
in the same direction as the ssh connection, but nothing that tells me how
to tunnel 'backwards'....
TIA,
--Yan
- Next message: Stuart Scharf: "Two Factor Security"
- Previous message: Uwe Stoeckel: "Re: [Q] Eudora SSL Negotiation fails"
- Next in thread: Pascal Bourguignon: "Re: SSH port forwarding/tunneling"
- Reply: Pascal Bourguignon: "Re: SSH port forwarding/tunneling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|