Initial commit
This commit is contained in:
16
server/sshd/sshd_config
Normal file
16
server/sshd/sshd_config
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
# core hardening (example — adjust to your policy)
|
||||
Port 2222
|
||||
Protocol 2
|
||||
PasswordAuthentication no
|
||||
PubkeyAuthentication yes
|
||||
PermitRootLogin no
|
||||
|
||||
|
||||
# For your tunneling use-case:
|
||||
AllowTcpForwarding yes
|
||||
GatewayPorts clientspecified
|
||||
|
||||
# (Optional) Restrict to your username:
|
||||
AllowUsers tunnel
|
||||
|
||||
Reference in New Issue
Block a user