ssh agent expiration on suspend/hibernate

August 25, 2008

Dear Lazyweb,

Is there a nice way to tell gnome-power-manager to run ‘ssh-add -D’ as me before suspending or hibernating?



3 Responses to “ssh agent expiration on suspend/hibernate”

  1. Bill Says:

    pm-utils hooks?

  2. timlau Says:

    just put a script in /usr/lib/pm-utils/sleep.d/

    check this script i use to make madwifi behave.

    remember to chmod +x the script 🙂

  3. Menno Smits Says:

    This was a feature planned for my ssh-agent-applet that I never got around to. I haven’t tested it on a recent Gnome so not sure how it runs these days.

    More here:

    If someone is interested I can try adding this feature.

    Related question: does HAL or something else emit DBus events when the system is suspending or coming out of suspend?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: