[neon/neon/settings/Neon/unstable] etc/profile.d: set SSH_AUTH_SOCK in the wayland session

Carlos De Maine null at kde.org
Sat May 30 09:53:55 BST 2026


Git commit 267c7dcbd3365a44eba116a6ac15694045f27fbd by Carlos De Maine.
Committed on 30/05/2026 at 08:32.
Pushed by carlosdem into branch 'Neon/unstable'.

set SSH_AUTH_SOCK in the wayland session

A  +8    -0    etc/profile.d/org.kde.neon.ksshaskpass_auth_sock.sh

https://invent.kde.org/neon/neon/settings/-/commit/267c7dcbd3365a44eba116a6ac15694045f27fbd

diff --git a/etc/profile.d/org.kde.neon.ksshaskpass_auth_sock.sh b/etc/profile.d/org.kde.neon.ksshaskpass_auth_sock.sh
new file mode 100644
index 0000000..376afb8
--- /dev/null
+++ b/etc/profile.d/org.kde.neon.ksshaskpass_auth_sock.sh
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
+# SPDX-FileCopyrightText: 2026 Carlos De Maine <carlosd.kde at gmail.com>
+
+# in a wayland seesion the SSH_AUTH_SOCK needs to be set as below
+# in a X11 session this is set automatically and thus does not need to be done here
+if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
+  export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
+fi


More information about the Neon-commits mailing list