18 lines
420 B
Plaintext
Raw Normal View History

2023-01-28 13:51:01 +01:00
PermitRootLogin no
ChallengeResponseAuthentication no
PasswordAuthentication no
AuthenticationMethods publickey
PubkeyAuthentication yes
AllowUsers bastion
2023-01-28 12:49:03 +01:00
PermitTTY no
X11Forwarding no
PermitTunnel no
GatewayPorts no
2023-01-28 13:51:01 +01:00
HostKey /config/ssh_host_ed25519_key
HostKey /config/ssh_host_rsa_key
Port 2222
2023-01-28 12:49:03 +01:00
ForceCommand /sbin/nologin
2023-10-11 11:37:26 +02:00
Match User jumpuser
2023-01-28 12:49:03 +01:00
AllowTcpForwarding yes
AuthorizedKeysFile /config/authorized_keys