Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jul 2000 19:52:20 +0100
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        questions@freebsd.org
Subject:   Question about the use of ssh-agent(1)
Message-ID:  <20000709195220.C233@parish>

next in thread | raw e-mail | index | archive | help
I've read the manpages for ssh-agent(1) and ssh-add(1) but require
clarification on a couple of points.

Is adding:

   eval `ssh-agent`
   ssh-add

to ~/.login {a,the} correct way to start it?

If I login (as the same user) on more than one ttyv do I need to run
an ssh-agent on each login?

If not, should the commands in ~/.login be:

   if (! $SSH_AGENT_PID ) then
      eval `ssh-agent`
      ssh-add
   fi

TIA

-- 
  If I buy a copy of WinDelete, and it doesn't delete Windows,
  am I entitled to my money back?
________________________________________________________________
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:mark@ukug.uk.freebsd.org             http://www.radan.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000709195220.C233>