summaryrefslogtreecommitdiff
path: root/ssh.conf
blob: c2c22369baa3943698ca971d4061efeaec75635a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
PermitRootLogin no
PasswordAuthentication no

HostKey /var/keys/etc/ssh/ssh_host_rsa_key
HostKey /var/keys/etc/ssh/ssh_host_ecdsa_key
HostKey /var/keys/etc/ssh/ssh_host_ed25519_key

# Logging
SyslogFacility AUTH
LogLevel INFO

PermitTTY no
AllowAgentForwarding no

# Force our run script that checks for permissions and runs sudo
ForceCommand /usr/local/bin/run "$SSH_ORIGINAL_COMMAND"