-
-
Save sudhirkhanger/dd3fa370a9853e3c5def to your computer and use it in GitHub Desktop.
Using KWallet and ksshaskpass with ssh-agent
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/bash | |
# Put this in ~/.kde/Autostart/ssh-agent.sh | |
export SSH_ASKPASS=/usr/bin/ksshaskpass | |
/usr/bin/ssh-add |
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/bash | |
# Put this in ~/.kde/env/ssh-agent.sh | |
eval $(ssh-agent) |
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/bash | |
# Put this in ~/.kde/shutdown/ssh-agent.sh | |
ssh-agent -k |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment