Created
November 10, 2014 07:51
-
-
Save MarkusH/1d4ef0ad168483ad6d3d to your computer and use it in GitHub Desktop.
Adding SSH Keys on login in Plasma 5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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