ssh fixings

This commit is contained in:
Daniel Lundin 2023-06-06 12:18:49 +02:00
parent d9039fa3f6
commit a941385823
5 changed files with 18 additions and 8 deletions
.config/systemd/user

View file

@ -0,0 +1,14 @@
[Unit]
Description=SSH key agent
[Service]
Type=simple
Restart=on-failure
Environment=DISPLAY=:0
Environment=WAYLAND_DISPLAY=wayland-0
Environment=SSH_ASKPASS=/usr/bin/ksshaskpass
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
[Install]
WantedBy=default.target