diff options
| author | 2025-10-20 10:20:42 +0200 | |
|---|---|---|
| committer | 2025-10-20 10:20:42 +0200 | |
| commit | cb044dd567ab9fafba30e97e373c30bd301f027b (patch) | |
| tree | 3491b69ae5d327556f0e5d4bd732ec6208746ece /src/ssh.conf | |
| parent | 9d99b5e6d45e83e0ef72a9b88b84808f1282834b (diff) | |
Moved files to src and renamed variables
Diffstat (limited to 'src/ssh.conf')
| -rw-r--r-- | src/ssh.conf | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/ssh.conf b/src/ssh.conf new file mode 100644 index 0000000..2940260 --- /dev/null +++ b/src/ssh.conf @@ -0,0 +1,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/etc/ssh/ssh_host_rsa_key +HostKey /var/ssh/etc/ssh/ssh_host_ecdsa_key +HostKey /var/ssh/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" |
