Make ssh-add autostart at login
Alternatively, AddKeysToAgent yes in ~/.ssh/config will add the key when needed, but this breaks accessing SFTP files in Dolphin for some reason, so it's better to just run ssh-add at login
This commit is contained in:
parent
111f17a1b3
commit
393e142cce
4
autostart/ssh-add.desktop
Normal file
4
autostart/ssh-add.desktop
Normal file
|
@ -0,0 +1,4 @@
|
|||
[Desktop Entry]
|
||||
Exec=ssh-add -q
|
||||
Name=ssh-add
|
||||
Type=Application
|
|
@ -1,3 +1,3 @@
|
|||
SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent.socket
|
||||
SSH_ASKPASS='/usr/bin/ksshaskpass'
|
||||
SSH_ASKPASS=/usr/bin/ksshaskpass
|
||||
SSH_ASKPASS_REQUIRE=prefer
|
||||
|
|
Loading…
Reference in a new issue