I put the following in my .profile to see if there is a running ssh-agent and if
not start one.  After that, whenever I login I just have to run ssh-add once,
and all my windows have the correct enviroment.  If you do not check to see if
an ssh-agent is already running it can start a new agent for each window.

( /usr/bin/ps -ef | /usr/bin/grep ssh-agent | /usr/bin/grep -v grep ) || eval
`/opt/ssh/bin/ssh-agent`

> Keith Ives wrote:
> 
> I want to get ssh-agent started, and prompted 1 time to ssh-add the
> passphrase.  Running openssh 2.9p1 on Solaris 2.7 (cde 1.3).
> I have exhausted experimenting with numerous solutions found searching the
> net.  The closest I've come is getting the agent started but every shell wants
> the passphrase... instead of a 1-time prompt to satisfy entire session.
> 

-- 
David Cress
Manager, System Administration Services
CNN Internet Technologies
http://www.cnn.com 
--------------------
(404) 878-1921

What exists, exists; what is, is.

Reply via email to