aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/ssh.profile
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2020-04-21 08:24:28 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2020-04-21 08:24:28 -0400
commit018d75775eab4a0f045949a9d069c57686ca2686 (patch)
treeaac3a1a65cca0d4875795c55109a5c3e35efdefb /etc/profile-m-z/ssh.profile
parentsmall fixes (diff)
downloadfirejail-018d75775eab4a0f045949a9d069c57686ca2686.tar.gz
firejail-018d75775eab4a0f045949a9d069c57686ca2686.tar.zst
firejail-018d75775eab4a0f045949a9d069c57686ca2686.zip
reorganize github etc directory
Diffstat (limited to 'etc/profile-m-z/ssh.profile')
-rw-r--r--etc/profile-m-z/ssh.profile52
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
4quiet
5# Persistent local customizations
6include ssh.local
7# Persistent global definitions
8include globals.local
9
10noblacklist /etc/ssh
11noblacklist /tmp/ssh-*
12noblacklist ${HOME}/.ssh
13# nc can be used as ProxyCommand, e.g. when using tor
14noblacklist ${PATH}/nc
15noblacklist ${PATH}/ncat
16
17include disable-common.inc
18include disable-exec.inc
19include disable-passwdmgr.inc
20include disable-programs.inc
21
22whitelist ${RUNUSER}/keyring/ssh
23whitelist ${RUNUSER}/gnupg/S.gpg-agent.ssh
24include whitelist-usr-share-common.inc
25include whitelist-runuser-common.inc
26
27caps.drop all
28ipc-namespace
29netfilter
30no3d
31nodvd
32nogroups
33nonewprivs
34# noroot - see issue #1543
35nosound
36notv
37nou2f
38novideo
39protocol unix,inet,inet6
40seccomp
41shell none
42tracelog
43
44private-cache
45private-dev
46# private-tmp # Breaks when exiting
47writable-run-user
48
49dbus-user none
50dbus-system none
51
52memory-deny-write-execute