ssh fixings

This commit is contained in:
Daniel Lundin 2023-06-06 16:29:42 +02:00
parent e969503d7a
commit 4120076cb0
2 changed files with 2 additions and 0 deletions

View file

@ -1 +1,2 @@
SSH_ASKPASS=/usr/bin/ksshaskpass
SSH_AUTH_SOCK=${XDG_RUNTIME_DIR}/ssh-agent.socket

View file

@ -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