From 6ca020abcb4b7c30b324f6a98644266531144e68 Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Wed, 1 Apr 2020 16:48:03 +0200 Subject: [PATCH] Add usage notes to sshd snippets --- server/sshd_config_snippets | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server/sshd_config_snippets b/server/sshd_config_snippets index d90c16f..8ad7b41 100644 --- a/server/sshd_config_snippets +++ b/server/sshd_config_snippets @@ -1,4 +1,9 @@ # Example jump user configuration + +# Use this to connect through the jumphost: +# ssh -N -L 9022:targethost:22 jumpuser@jumphost +# ssh alarm@localhost -p 9022 + Match User jumpuser PermitTTY no ForceCommand /sbin/nologin