Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create protected passwordless ssh logins - Part 1 of 3' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create protected passwordless ssh logins - Part 1 of 3
Authored by: jaysoffian on Jan 12, '04 04:29:10PM

I assume you're referring to removing the ssh keys from ssh-agent (or locking ssh-agent) just before going to sleep, and then unlocking ssh-agent once the machine wakes up.

I don't really see a reason to do that. The purpose of locking/unlocking ssh-agent would be to prevent unauthorized use of your keys while you are away from the computer. But if the computer is asleep, the keys are safe.

However, it would be useful to lock ssh-agent whenever your screen is locked, and then unlock ssh-agent when you unlock the screen.

That's something I'm working on. It's actually not that hard, just need to write a quick program that receives notifications when the screen is locked/unlocked. You'd also might want to lock ssh-agent when Fast User Switching is in use and your user is switched out.

j.



[ Reply to This | # ]