Re: Howto use port-forewarding to login into client with non-pulic IP?
- From: Darren Tucker <dtucker@xxxxxxxxxx>
- Date: Wed, 04 Feb 2009 23:18:28 +1100
Clemens Eisserer wrote:
Hello,
I would like to login on a client without a public IP using portforewarding.
I thought I could do this by having one server with public IP where
the client forewards its SSH port using:
ssh root@server -R 2222:server:22
This forwards the connection back to the server, not to the client. You probably want "ssh root@server -R 2222:client:22" or "ssh root@server -R 2222:localhost:22"
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
- Follow-Ups:
- Re: Howto use port-forewarding to login into client with non-pulic IP?
- From: Clemens Eisserer
- Re: Howto use port-forewarding to login into client with non-pulic IP?
- References:
- Howto use port-forewarding to login into client with non-pulic IP?
- From: Clemens Eisserer
- Howto use port-forewarding to login into client with non-pulic IP?
- Prev by Date: Re: 5.1p1 and X11 forwarding failing
- Next by Date: Re: How to bridge two ssh sessions?
- Previous by thread: Howto use port-forewarding to login into client with non-pulic IP?
- Next by thread: Re: Howto use port-forewarding to login into client with non-pulic IP?
- Index(es):
Relevant Pages
|