Add SSHD snippet for jump user (port forwarding only to specific hosts)
This commit is contained in:
parent
2d58fc19c7
commit
aa1e90e57e
8
server/sshd_config_snippets
Normal file
8
server/sshd_config_snippets
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# Example jump user configuration
|
||||||
|
Match User jumpuser
|
||||||
|
PermitTTY no
|
||||||
|
ForceCommand /sbin/nologin
|
||||||
|
AllowAgentForwarding no
|
||||||
|
AllowTcpForwarding yes
|
||||||
|
X11Forwarding no
|
||||||
|
PermitOpen dest0:* dest:*
|
Loading…
Reference in New Issue
Block a user