docker-ssh-jumphost/sshd_config

17 lines
420 B
Plaintext
Raw Normal View History

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