-   Linux - Security (
-   -   Hide IP of source on Dest. (

linux2man 10-05-2012 06:07 AM

Hide IP of source on Dest.
I want to connect to server via SSH without showing my IP on destination server
for example I want to connect from server1 to server2 and I can use server3 in middle but at final I want server1's IP to be hidden on server2.
I think it can be handling using SSH -L


arun5002 10-05-2012 06:47 AM


Yes,You can achieve these using Port Fowarding .Look after these link

Turbocapitalist 10-05-2012 07:38 AM

You can do that several ways. Here is one way using tunneling. First set up a tunnel:
$ ssh -L
Next connecting to the tunnel will actually connect to the second host, machine2.
$ ssh -p 2222 remoteuser@localhost
Another way is to use ProxyCommand in the configuration, either in the ~/.ssh/config file or in the runtime arguments.
$ ssh -o 'ProxyCommand ssh %h nc 22' -o 'HostKeyAlias'

All times are GMT -5. The time now is 11:27 PM.