servers/roles/debian/files/sshd_config.mgmt
Timotej Lazar 5da50c14f9 debian: run a separate sshd in mgmt VRF
Leave the default sshd alone. If ssh is not necessary in default VRF,
another role should disable it.
2023-10-25 13:06:57 +02:00

15 lines
304 B
Plaintext

# This is for sshd in management VRF, for ansible and other not-really-OOB stuff.
PidFile none
UsePAM no
# Only allow pubkey auth.
KbdInteractiveAuthentication no
PasswordAuthentication no
PermitRootLogin prohibit-password
# Disable what we can.
AllowTcpForwarding no
GatewayPorts no
X11Forwarding no