summaryrefslogtreecommitdiff
path: root/ssh.conf
diff options
context:
space:
mode:
authorGravatar Matthias Lucas Jaros <jarlucmat@mailbox.org>2025-10-19 11:25:21 +0200
committerGravatar Matthias Lucas Jaros <jarlucmat@mailbox.org>2025-10-19 11:25:21 +0200
commit40fa1d2fbd1e5feb9e0f8228288c9fb5e031932d (patch)
treef303d9f8ca98da8f37115ad780e62afe7295e277 /ssh.conf
parent69ce1bb94cbf651327bee1cc10157b578c88a279 (diff)
It works, permission check missing
Diffstat (limited to 'ssh.conf')
-rw-r--r--ssh.conf10
1 files changed, 3 insertions, 7 deletions
diff --git a/ssh.conf b/ssh.conf
index 20d5f99..c2c2236 100644
--- a/ssh.conf
+++ b/ssh.conf
@@ -10,11 +10,7 @@ SyslogFacility AUTH
LogLevel INFO
PermitTTY no
-#AllowAgentForwarding yes
+AllowAgentForwarding no
-# Example of overriding settings on a per-user basis
-#Match User anoncvs
-# X11Forwarding no
-# AllowTcpForwarding no
-# PermitTTY no
-# ForceCommand cvs server
+# Force our run script that checks for permissions and runs sudo
+ForceCommand /usr/local/bin/run "$SSH_ORIGINAL_COMMAND"