aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/ssh.profile
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2021-01-09 21:41:43 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2021-01-27 18:18:38 -0300
commit83ac0239722f85ffed15e3b6b6088bfff547ac1b (patch)
treebab7befdd0200dac19366bdb3fcf290487e1c761 /etc/profile-m-z/ssh.profile
parentgit-cola.profile: add missing python template comment (diff)
downloadfirejail-83ac0239722f85ffed15e3b6b6088bfff547ac1b.tar.gz
firejail-83ac0239722f85ffed15e3b6b6088bfff547ac1b.tar.zst
firejail-83ac0239722f85ffed15e3b6b6088bfff547ac1b.zip
etc: add allow-ssh.inc
And move the scattered `noblacklist ${HOME}/.ssh` entries into it. Command used to find the relevant files: $ grep -Fnr 'noblacklist ${HOME}/.ssh' etc Also, add it to profile.template, as reminded by @rusty-snake at https://github.com/netblue30/firejail/pull/3885#pullrequestreview-567527031
Diffstat (limited to 'etc/profile-m-z/ssh.profile')
-rw-r--r--etc/profile-m-z/ssh.profile4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/profile-m-z/ssh.profile b/etc/profile-m-z/ssh.profile
index e3e2b4541..efdf63976 100644
--- a/etc/profile-m-z/ssh.profile
+++ b/etc/profile-m-z/ssh.profile
@@ -9,11 +9,13 @@ include globals.local
9 9
10noblacklist /etc/ssh 10noblacklist /etc/ssh
11noblacklist /tmp/ssh-* 11noblacklist /tmp/ssh-*
12noblacklist ${HOME}/.ssh
13# nc can be used as ProxyCommand, e.g. when using tor 12# nc can be used as ProxyCommand, e.g. when using tor
14noblacklist ${PATH}/nc 13noblacklist ${PATH}/nc
15noblacklist ${PATH}/ncat 14noblacklist ${PATH}/ncat
16 15
16# Allow ssh (blacklisted by disable-common.inc)
17include allow-ssh.inc
18
17include disable-common.inc 19include disable-common.inc
18include disable-exec.inc 20include disable-exec.inc
19include disable-passwdmgr.inc 21include disable-passwdmgr.inc