Skip to content

Instantly share code, notes, and snippets.

@MarkusH
Created November 10, 2014 07:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MarkusH/1d4ef0ad168483ad6d3d to your computer and use it in GitHub Desktop.
Save MarkusH/1d4ef0ad168483ad6d3d to your computer and use it in GitHub Desktop.
Adding SSH Keys on login in Plasma 5
; File: ~/.config/autostart/ssh-add.desktop
; You need to change USERNAME to your username for "Exec" and "Path"
[Desktop Entry]
Categories=Qt;KDE;System;Network;
Comment=Add SSH keys to session
Exec=/home/USERNAME/.config/autostart/ssh-add.sh
GenericName=Add SSH keys
Icon=
MimeType=
Name=SSHKeys
Path=/home/USERNAME
Type=Application
#!/bin/sh
# File: ~/.config/autostart/ssh-add.sh
ssh-add ~/.ssh/id_rsa
ssh-add /path/to/another/ssh/key/id_rsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment