Skip to content

Commit b2d5d17

Browse files
committed
profiles: Add socket-activated ssh-agent socket
Added another default ssh-agent socket path, that is used in Debian for socket-activated agent.
1 parent a517fa9 commit b2d5d17

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

etc/inc/allow-ssh.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ noblacklist /etc/ssh/ssh_config
88
noblacklist /etc/ssh/ssh_config.d
99
noblacklist /etc/ssh/ssh_revoked_hosts # RevokedHostKeys on Gentoo
1010
noblacklist ${PATH}/ssh*
11+
noblacklist ${RUNUSER}/openssh_agent
1112
noblacklist /tmp/ssh-*
1213
# Arch Linux and derivatives
1314
noblacklist /usr/lib/ssh

etc/inc/disable-common.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,7 @@ read-only ${HOME}/.config/MangoHud
433433
read-only ${HOME}/.local/share/thumbnailers
434434

435435
# prevent access to ssh-agent
436+
blacklist ${RUNUSER}/openssh_agent
436437
blacklist /tmp/ssh-*
437438

438439
# top secret

etc/profile-a-l/keepassxc.profile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ noblacklist ${HOME}/.config/KeePassXCrc
1414
noblacklist ${HOME}/.keepassxc
1515
noblacklist ${DOCUMENTS}
1616
noblacklist ${RUNUSER}/app
17+
noblacklist ${RUNUSER}/openssh_agent
1718
noblacklist /tmp/ssh-*
1819

1920
# Allow browser profiles, required for browser integration.
@@ -66,6 +67,7 @@ include disable-xdg.inc
6667

6768
mkdir ${RUNUSER}/app/org.keepassxc.KeePassXC
6869
whitelist ${RUNUSER}/app/org.keepassxc.KeePassXC
70+
whitelist ${RUNUSER}/openssh_agent
6971
whitelist /tmp/ssh-*
7072
whitelist /usr/share/keepassxc
7173
include whitelist-run-common.inc

etc/profile-m-z/seahorse.profile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ include disable-xdg.inc
2424
#mkdir ${HOME}/.ssh
2525
#whitelist ${HOME}/.gnupg
2626
#whitelist ${HOME}/.ssh
27+
whitelist ${RUNUSER}/openssh_agent
2728
whitelist /tmp/ssh-*
2829
whitelist /usr/share/gnupg
2930
whitelist /usr/share/gnupg2

0 commit comments

Comments
 (0)