diff options
author | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2020-05-31 14:17:24 +0200 |
---|---|---|
committer | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2020-05-31 14:17:24 +0200 |
commit | fc0267f14f4b4f87e857b688501ec0bfe258b2d7 (patch) | |
tree | 555207ac9c1e7885f8482665cb2872d5b00d8806 | |
parent | 05dccfb509994792f7d3e0c1143f1dfea8a32d5a (diff) |
Add ssh port tunneling
-rw-r--r-- | ssh.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -15,3 +15,9 @@ Change password for key: ## Execute commands and start shell ssh -t host 'commands; bash' + +## Port tunneling + + ssh -N host -L <client port>:<address:port from server's POV> + +`-N` is to not start an SSH session. |