diff options
Diffstat (limited to 'etc/profile-m-z/ssh.profile')
-rw-r--r-- | etc/profile-m-z/ssh.profile | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/etc/profile-m-z/ssh.profile b/etc/profile-m-z/ssh.profile new file mode 100644 index 000000000..5d3458c29 --- /dev/null +++ b/etc/profile-m-z/ssh.profile | |||
@@ -0,0 +1,52 @@ | |||
1 | # Firejail profile for ssh | ||
2 | # Description: Secure shell client and server | ||
3 | # This file is overwritten after every install/update | ||
4 | quiet | ||
5 | # Persistent local customizations | ||
6 | include ssh.local | ||
7 | # Persistent global definitions | ||
8 | include globals.local | ||
9 | |||
10 | noblacklist /etc/ssh | ||
11 | noblacklist /tmp/ssh-* | ||
12 | noblacklist ${HOME}/.ssh | ||
13 | # nc can be used as ProxyCommand, e.g. when using tor | ||
14 | noblacklist ${PATH}/nc | ||
15 | noblacklist ${PATH}/ncat | ||
16 | |||
17 | include disable-common.inc | ||
18 | include disable-exec.inc | ||
19 | include disable-passwdmgr.inc | ||
20 | include disable-programs.inc | ||
21 | |||
22 | whitelist ${RUNUSER}/keyring/ssh | ||
23 | whitelist ${RUNUSER}/gnupg/S.gpg-agent.ssh | ||
24 | include whitelist-usr-share-common.inc | ||
25 | include whitelist-runuser-common.inc | ||
26 | |||
27 | caps.drop all | ||
28 | ipc-namespace | ||
29 | netfilter | ||
30 | no3d | ||
31 | nodvd | ||
32 | nogroups | ||
33 | nonewprivs | ||
34 | # noroot - see issue #1543 | ||
35 | nosound | ||
36 | notv | ||
37 | nou2f | ||
38 | novideo | ||
39 | protocol unix,inet,inet6 | ||
40 | seccomp | ||
41 | shell none | ||
42 | tracelog | ||
43 | |||
44 | private-cache | ||
45 | private-dev | ||
46 | # private-tmp # Breaks when exiting | ||
47 | writable-run-user | ||
48 | |||
49 | dbus-user none | ||
50 | dbus-system none | ||
51 | |||
52 | memory-deny-write-execute | ||