From 40fa1d2fbd1e5feb9e0f8228288c9fb5e031932d Mon Sep 17 00:00:00 2001 From: Matthias Lucas Jaros Date: Sun, 19 Oct 2025 11:25:21 +0200 Subject: It works, permission check missing --- ssh.conf | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'ssh.conf') 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" -- cgit v1.3.1