blob: 44627421096bf9a1cf9a236c4b0846fe3b128e59 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# Security, do not allow any access to the git repos outside of allowed users
PermitRootLogin no
PasswordAuthentication no
PermitTTY no
AllowAgentForwarding no
# Point keys to shared data dir
HostKey /var/ssh/host/etc/ssh/ssh_host_rsa_key
HostKey /var/ssh/host/etc/ssh/ssh_host_ecdsa_key
HostKey /var/ssh/host/etc/ssh/ssh_host_ed25519_key
# Logging
SyslogFacility AUTH
LogLevel INFO
# Force run script that checks for permissions and runs sudo
ForceCommand /usr/local/bin/run "$SSH_ORIGINAL_COMMAND"
|