docker-ssh-jumphost/sshd_config

17 lines
420 B
Plaintext
Executable File

PermitRootLogin no
ChallengeResponseAuthentication no
PasswordAuthentication no
AuthenticationMethods publickey
PubkeyAuthentication yes
AllowUsers jumpuser
PermitTTY no
X11Forwarding no
PermitTunnel no
GatewayPorts no
HostKey /config/ssh_host_ed25519_key
HostKey /config/ssh_host_rsa_key
Port 2222
ForceCommand /sbin/nologin
Match User jumpuser
AllowTcpForwarding yes
AuthorizedKeysFile /config/authorized_keys