Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: Defering passphrase entry with ssh-add |
|---|---|
| Date: | Tue, 20 Nov 2007 09:28:38 +0000 |
I also use this a lot and would be interested in a solution to this.
Or to require a lifetime on the key loaded, but again, not 100% convenient.
-h
Hari Sekhon
Hello,
Is there any way to invoke ssh-add so that it defers asking for the passphase for my private key until the key is actually required. It seems like such an obvious option to have; it would permit me to have "eval $(ssh-agent) && ssh-add" in my .shrc, but not encumber me with having to enter a passhrase every time I ssh in, nor would it prevent unnattended logins. Am I missing something obvious in the way the system is meant to work? Am I just being lazy in not wanting to run ssh-add before the first time I use ssh?
This question applies to two versions, OpenSSH_4.4p1, OpenSSL 0.9.8d 28 Sep 2006 OpenSSH_4.5p1 FreeBSD-20061110, OpenSSL 0.9.7e-p1 25 Oct 2004
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: SSH download/upload problem SSH Tunnels, jam |
|---|---|
| Next by Date: | Restricted (ksh -r) shell and SSH on AIX5.1, Rob Sherry |
| Previous by Thread: | Defering passphrase entry with ssh-add, Christopher Key |
| Next by Thread: | Re: Defering passphrase entry with ssh-add, Christopher Key |
| Indexes: | [Date] [Thread] [Top] [All Lists] |