User Tools

Site Tools


ssh:ssh_tricks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ssh:ssh_tricks [2010/06/08 12:24]
deva created
ssh:ssh_tricks [2011/12/19 18:36] (current)
deva
Line 12: Line 12:
 On server (public accessible): On server (public accessible):
 <code> <code>
-ssh client_user@server -p 6333+ssh client_user@localhost -p 6333
 </code> </code>
  
 Now the server is connected to the client. Now the server is connected to the client.
 +
 +=====Port forwarding=====
 +On client type the following
 +<code>
 +ssh -f user@server -L 2000:server:25 -N
 +</code>
 +It will make it possible to connect to port 25 on the server via port 2000 on the client.\\
 +Removing '-f' will stop ssh from going to the background.
ssh/ssh_tricks.1275992673.txt.gz ยท Last modified: 2010/06/08 12:24 by deva