summaryrefslogtreecommitdiff
path: root/ssh.conf
diff options
context:
space:
mode:
authorGravatar Matthias Jaros <jarlucmat@mailbox.org>2025-10-19 11:25:21 +0200
committerGravatar Matthias Jaros <jarlucmat@mailbox.org>2025-10-19 11:25:21 +0200
commitc00363882dc8413bef47f1de4f268ae4cb500937 (patch)
treef303d9f8ca98da8f37115ad780e62afe7295e277 /ssh.conf
parent378c85a0277696068046e62445419795dd710051 (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"