]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
ssh_config: Disable PermitLocalCommand.
authorSimon Ruderich <simon@ruderich.org>
Sat, 9 Feb 2013 19:57:43 +0000 (20:57 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sat, 9 Feb 2013 20:52:28 +0000 (21:52 +0100)
ssh_config

index 77b92a6638371d243caa1903434e52835e0a94aa..3326892f1aeafe13fce941f6de1b5e460c250862 100644 (file)
@@ -48,6 +48,9 @@ Host *
 # sockets are stored in ~/.ssh (by default ControlPath is not set).
     ControlPath ~/.ssh/master-%l-%h-%p-%r
 
+# Don't permit running local commands.
+    PermitLocalCommand no
+
 # Don't send any environment variables.
     SendEnv