[neon/neon/settings/Neon/release] etc/profile.d: set SSH_AUTH_SOCK in the wayland session
Carlos De Maine
null at kde.org
Sat May 30 09:48:11 BST 2026
Git commit 25a59ece0b5605931fdd93820fbddcf044362e16 by Carlos De Maine.
Committed on 30/05/2026 at 08:48.
Pushed by carlosdem into branch 'Neon/release'.
set SSH_AUTH_SOCK in the wayland session
(cherry picked from commit 267c7dcbd3365a44eba116a6ac15694045f27fbd)
A +8 -0 etc/profile.d/org.kde.neon.ksshaskpass_auth_sock.sh
https://invent.kde.org/neon/neon/settings/-/commit/25a59ece0b5605931fdd93820fbddcf044362e16
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