ssh:ssh_tricks
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ssh:ssh_tricks [2010/06/08 12:24] – created deva | ssh:ssh_tricks [2011/12/19 18:36] (current) – deva | ||
---|---|---|---|
Line 12: | Line 12: | ||
On server (public accessible): | On server (public accessible): | ||
< | < | ||
- | ssh client_user@server | + | ssh client_user@localhost |
</ | </ | ||
Now the server is connected to the client. | Now the server is connected to the client. | ||
+ | |||
+ | =====Port forwarding===== | ||
+ | On client type the following | ||
+ | < | ||
+ | ssh -f user@server -L 2000: | ||
+ | </ | ||
+ | It will make it possible to connect to port 25 on the server via port 2000 on the client.\\ | ||
+ | Removing ' |
ssh/ssh_tricks.txt · Last modified: 2011/12/19 18:36 by deva