From fc0267f14f4b4f87e857b688501ec0bfe258b2d7 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Sun, 31 May 2020 14:17:24 +0200 Subject: Add ssh port tunneling --- ssh.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ssh.md b/ssh.md index 1b5c9be..fd62496 100644 --- a/ssh.md +++ b/ssh.md @@ -15,3 +15,9 @@ Change password for key: ## Execute commands and start shell ssh -t host 'commands; bash' + +## Port tunneling + + ssh -N host -L : + +`-N` is to not start an SSH session. -- cgit v1.2.3