User Tools

Site Tools


ssh:ssh_tricks

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
ssh:ssh_tricks [2010/06/08 12:27]
deva
ssh:ssh_tricks [2011/12/19 18:36] (current)
deva
Line 16: Line 16:
  
 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.1275992849.txt.gz ยท Last modified: 2010/06/08 12:27 by deva