[ubuntu-in] SSH Forwarding how to?

Ravi Kumar ra21vi at gmail.com
Mon Mar 24 12:49:46 GMT 2008


Hi friends,
I have a server which cannot be accessed through Internet. Now, I want to
expose a service to internet, but in secure way. So I choose SSH Port
forwarding...
The scenario is:

Server A host a service i.e CVS on port 2401 (default_)
Server B has SSH service running.

Both A and B are in local network.

Now computer C from far world needs access to that service on A, so I want
to tunnel the communication between B and C for A-C communication.

Something such as : [A : cvs] <------------------> [B : sshd] <-----------
tunnel ----------------------------->[C]

Please guide me how can I enable ssh tunneling in such, I read many online
documents, but could not get the grip over the theory,
Also, for C i would like B as transparent. that is same port 2401 on B would
be forwareded to A:2401

again  that would be :   [A : 2401] <-----------------> [B : 2401]
<----------- ssh tunneling---------------------->[C]

Please guide me, also suggest me some more secure options for such, but only
opensource.
I want ssh authentication with public/private key [optional]


-- 
-=Ravi=-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-in/attachments/20080324/62ac0de8/attachment.htm 


More information about the ubuntu-in mailing list