From 4120076cb0b5960d262e7aa23a426fbf4b21ff04 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Tue, 6 Jun 2023 16:29:42 +0200 Subject: [PATCH] ssh fixings --- .config/environment.d/ssh.conf | 1 + .config/systemd/user/ssh-agent.service | 1 + 2 files changed, 2 insertions(+) diff --git a/.config/environment.d/ssh.conf b/.config/environment.d/ssh.conf index bbfcca2..de556f5 100644 --- a/.config/environment.d/ssh.conf +++ b/.config/environment.d/ssh.conf @@ -1 +1,2 @@ +SSH_ASKPASS=/usr/bin/ksshaskpass SSH_AUTH_SOCK=${XDG_RUNTIME_DIR}/ssh-agent.socket diff --git a/.config/systemd/user/ssh-agent.service b/.config/systemd/user/ssh-agent.service index 9d71206..c8187e0 100644 --- a/.config/systemd/user/ssh-agent.service +++ b/.config/systemd/user/ssh-agent.service @@ -6,6 +6,7 @@ Type=simple Restart=on-failure Environment=DISPLAY=:0 Environment=WAYLAND_DISPLAY=wayland-0 +Environment=QT_QPA_PLATFORM=wayland Environment=SSH_ASKPASS=/usr/bin/ksshaskpass Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK