diff options
-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. |