36 lines
770 B
Plaintext
36 lines
770 B
Plaintext
Port 22
|
|
ListenAddress 0.0.0.0
|
|
HostKey /etc/ssh/host-keys/ssh_host_ed25519_key
|
|
HostKey /etc/ssh/host-keys/ssh_host_rsa_key
|
|
PidFile /run/sshd.pid
|
|
|
|
PermitRootLogin no
|
|
PasswordAuthentication no
|
|
KbdInteractiveAuthentication no
|
|
PubkeyAuthentication yes
|
|
AuthenticationMethods publickey
|
|
AuthorizedKeysFile /var/lib/travel-kg/dbeaver-access/authorized_keys
|
|
AllowUsers dbeaver
|
|
LoginGraceTime 30
|
|
MaxAuthTries 3
|
|
MaxSessions 1
|
|
MaxStartups 10:30:30
|
|
StrictModes yes
|
|
|
|
AllowTcpForwarding local
|
|
AllowStreamLocalForwarding no
|
|
GatewayPorts no
|
|
PermitOpen 127.0.0.1:3307
|
|
AllowAgentForwarding no
|
|
X11Forwarding no
|
|
PermitTTY no
|
|
PermitTunnel no
|
|
PermitUserRC no
|
|
PermitUserEnvironment no
|
|
ForceCommand /usr/local/bin/tunnel-only
|
|
|
|
UsePAM no
|
|
PrintMotd no
|
|
LogLevel VERBOSE
|
|
Subsystem sftp internal-sftp
|