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: monickels on Jan 12, '04 12:29:51PM

From what I can tell, these scripts do not run on wake. This is an important part which has been missing from all passwordless-SSH hints and tools I have seen. Particularly since, in OS X, one is more likely to put a machine to sleep rather than shut it down.



[ Reply to This | # ]
Create protected passwordless ssh logins - Part 1 of 3
Authored by: timhaigh on Jan 12, '04 02:17:04PM

The best way to set up SSH for newbies is to read this howto that I found a couple of years ago.


http://macmedic.co.uk/howto/ssh.html



[ Reply to This | # ]
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 | # ]