aboutsummaryrefslogtreecommitdiffstats
path: root/etc/inc/allow-ssh.inc
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2021-01-09 21:43:57 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2021-01-27 18:18:39 -0300
commit3849e1201d4e076af4039a1400e05be2006630e5 (patch)
tree98610edaea479f29b383e87448761d9641c927c4 /etc/inc/allow-ssh.inc
parentetc: add allow-ssh.inc (diff)
downloadfirejail-3849e1201d4e076af4039a1400e05be2006630e5.tar.gz
firejail-3849e1201d4e076af4039a1400e05be2006630e5.tar.zst
firejail-3849e1201d4e076af4039a1400e05be2006630e5.zip
allow-ssh.inc: allow /etc/ssh/ssh_config
This is the system-wide equivalent of ~/.ssh/config. $ pacman -Q openssh openssh 8.4p1-2 Reasons for blacklisting both /etc/ssh and /etc/ssh/* on disable-common.inc: Leave /etc/ssh that way so that profiles without allow-ssh.inc remain unable to see inside of /etc/ssh. And blacklist /etc/ssh/* so that profiles with allow-ssh.inc are able to access only nonblacklisted files inside of /etc/ssh.
Diffstat (limited to 'etc/inc/allow-ssh.inc')
-rw-r--r--etc/inc/allow-ssh.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/allow-ssh.inc b/etc/inc/allow-ssh.inc
index 2e864ad64..48b1f91ba 100644
--- a/etc/inc/allow-ssh.inc
+++ b/etc/inc/allow-ssh.inc
@@ -3,3 +3,5 @@
3include allow-ssh.local 3include allow-ssh.local
4 4
5noblacklist ${HOME}/.ssh 5noblacklist ${HOME}/.ssh
6noblacklist /etc/ssh
7noblacklist /etc/ssh/ssh_config