26 lines
548 B
Plaintext
26 lines
548 B
Plaintext
# ssh-bridge sshd — key-only, forward-only jump host.
|
|
Port 2222
|
|
ListenAddress 0.0.0.0
|
|
|
|
HostKey /data/ssh/ssh_host_ed25519_key
|
|
|
|
# Hard limits
|
|
PermitRootLogin no
|
|
PasswordAuthentication no
|
|
KbdInteractiveAuthentication no
|
|
PubkeyAuthentication yes
|
|
AllowUsers bridge
|
|
AuthorizedKeysFile /share/ssh-bridge/authorized_keys
|
|
|
|
# Required for -D (SOCKS) and -L jumps; everything else off
|
|
AllowTcpForwarding yes
|
|
AllowAgentForwarding no
|
|
PermitTunnel no
|
|
X11Forwarding no
|
|
GatewayPorts no
|
|
|
|
# Housekeeping
|
|
ClientAliveInterval 60
|
|
ClientAliveCountMax 3
|
|
LogLevel INFO
|