You are not logged in.
Hi.
After upgrade to KDE 4.1 ssh-agent stopped running. Is there a way for re-enabling it?
I have found that it is mentioned in /usr/bin/startkde, but if I add it there it would be
removed by the next pacman upgrade. What is the right way to add it?
I don't use it, but I expect that the same goes for gpg-agent.
Last edited by tanis (2008-07-28 20:54:56)
Offline
OK, it was as easy as adding 'ssh-agent.sh' script to ~/.kde4/env/ folder, containing: eval $( /usr/bin/ssh-agent ), and a script with ssh-agent -k to ~/.kde4/shutdown/
Offline
Ahah yeah, I also was wondering how to restore this ssh-agent stuff, then I saw your post, and wanted to tell you the answer was in the question.
I indeed just followed the instruction in this startkde script and it works nicely. Thanks a lot.
cd
mkdir -p .kde4/env .kde4/shutdown
echo 'eval `ssh-agent`' > .kde4/env/ssh-agent.sh
echo 'ssh-agent -k' > .kde4/shutdown/ssh-agent.sh
chmod +x .kde4/env/ssh-agent.sh .kde4/shutdown/ssh-agent.sh
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline