-
-
Save 414n/08556399b112f6b931a3fd82e7a6d775 to your computer and use it in GitHub Desktop.
Using KWallet and ksshaskpass with ssh-agent (KDE 5)
This file contains hidden or 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 | |
| # Put this in .config/plasma-workspace/env/ssh-agent.sh | |
| eval $(ssh-agent) |
This file contains hidden or 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 | |
| # Put this in .config/plasma-workspace/shutdown/ssh-agent.sh | |
| ssh-agent -k |
This file contains hidden or 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
| # Put this in ~/.config/autostart/ssh-add.desktop | |
| [Desktop Entry] | |
| # Add additional keys to load after -q, like ~/.ssh/my_key | |
| Exec=env SSH_ASKPASS=/usr/bin/ksshaskpass /usr/bin/ssh-add -q | |
| Name=ssh-add | |
| Type=Application |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment