[ILUG-BOM] SSH tunnel

Sameed Ahmed sameed at ymail.com
Sat Feb 20 12:25:04 IST 2010

Thank a lot guys,
communities are really very helpful. 

actually, i found very good thing, 
once i get connection from home to office , i can easily connect back to home without knowing my home IP.

1)create a tunnel to connect to server abc using SSH from user foo

#ssh -R 988:localhost:22 root at abc.xyz.com   (from home)

once u got connection, dnt restart ur home pc

2) Now from root user of server, connect to 988 port using SSH

ssh -p 988 foo at localhost

it will connect to home pc bypassing static ip and router.

Sameed Ahmed
Jr. Support Engineer
Enterux Solutions,
+91 9819033228

      Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/

More information about the Linuxers mailing list