diff options
author | 2017-08-07 13:41:08 -0500 | |
---|---|---|
committer | 2017-08-07 13:41:08 -0500 | |
commit | e24b15f8647997dbb26a7152c921af94e36294ce (patch) | |
tree | 4c98b42844c8c67853643d4b4b7253dbd8764f1e /etc/ssh.profile | |
parent | merges (diff) | |
parent | Unify last 8 profiles (diff) | |
download | firejail-e24b15f8647997dbb26a7152c921af94e36294ce.tar.gz firejail-e24b15f8647997dbb26a7152c921af94e36294ce.tar.zst firejail-e24b15f8647997dbb26a7152c921af94e36294ce.zip |
Merge pull request #1427 from SpotComms/pr
Unify all profiles
Diffstat (limited to 'etc/ssh.profile')
-rw-r--r-- | etc/ssh.profile | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/etc/ssh.profile b/etc/ssh.profile index 466abdc88..ac3b7a0ba 100644 --- a/etc/ssh.profile +++ b/etc/ssh.profile | |||
@@ -1,19 +1,18 @@ | |||
1 | # Firejail profile for ssh | ||
2 | # This file is overwritten after every install/update | ||
1 | quiet | 3 | quiet |
2 | # Persistent global definitions go here | 4 | # Persistent local customizations |
3 | include /etc/firejail/globals.local | ||
4 | |||
5 | # This file is overwritten during software install. | ||
6 | # Persistent customizations should go in a .local file. | ||
7 | include /etc/firejail/ssh.local | 5 | include /etc/firejail/ssh.local |
6 | # Persistent global definitions | ||
7 | include /etc/firejail/globals.local | ||
8 | 8 | ||
9 | # ssh client | ||
10 | noblacklist ~/.ssh | ||
11 | noblacklist /tmp/ssh-* | ||
12 | noblacklist /etc/ssh | 9 | noblacklist /etc/ssh |
10 | noblacklist /tmp/ssh-* | ||
11 | noblacklist ~/.ssh | ||
13 | 12 | ||
14 | include /etc/firejail/disable-common.inc | 13 | include /etc/firejail/disable-common.inc |
15 | include /etc/firejail/disable-programs.inc | ||
16 | include /etc/firejail/disable-passwdmgr.inc | 14 | include /etc/firejail/disable-passwdmgr.inc |
15 | include /etc/firejail/disable-programs.inc | ||
17 | 16 | ||
18 | caps.drop all | 17 | caps.drop all |
19 | ipc-namespace | 18 | ipc-namespace |
@@ -29,7 +28,7 @@ shell none | |||
29 | tracelog | 28 | tracelog |
30 | 29 | ||
31 | private-dev | 30 | private-dev |
32 | #private-tmp #Breaks when exiting | 31 | # private-tmp # Breaks when exiting |
33 | 32 | ||
34 | memory-deny-write-execute | 33 | memory-deny-write-execute |
35 | noexec ${HOME} | 34 | noexec ${HOME} |