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

linux2man 10-05-2012 05: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


jsaravana87 10-05-2012 05:47 AM


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

Turbocapitalist 10-05-2012 06: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 06:40 PM.