Skip to main content

Posts

Showing posts from February, 2012

Accessing your Linux workstation in a corporate network from home PC

Running the following commands assumes that you have already started OpenSSH server at workstation and opened port 22 at your home router. Opening 22 or any other port at workstation is not needed, the only precondition is that you should be able to ping your home PC from the workstation. How to setup SSH tunnel to your workstation from outside corporate network (for example, from home to work)? You should run this command on your workstation: ssh -f -N -q -R 2222:localhost:22 yourhomeusername@yourhomeip Now you can connect from home to your workstation via SSH using this command: ssh -p 2222 yourworkusername@localhost You can even create a fully-functional session on your Linux desktop using No Machine tools ( http://www.nomachine.com/ ). Just install node and server components on your workstation and connect via client from your home PC. A new session will be created. Also you can directly run some programs which require X server (but the interaction speed will be pretty slow) b