Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2008 08:29:27 -0700
From:      Gavin Spomer <spomerg@cwu.EDU>
To:        freebsd-stable@freebsd.org
Subject:   Re: ssh-keygen between SuSE and FreeBSD
Message-ID:  <48A3ECE7020000900001C150@hermes.cwu.edu>

next in thread | raw e-mail | index | archive | help

>>> Lyndon Nerenberg <lyndon@orthanc.ca> 08/13/08 7:10 PM >>>
> You need to start an ssh-agent on the machine you're connecting from and 
> populate it with your keychain:
> 
>  	eval `ssh-agent`
>  	ssh-add
> 
> Add the above to your .profile, or check the Linux PAM implementation to 
> see if it has ssh session support.
> 
> --lyndon

Thanks.

That made it possible for me to ssh from SuSE server to FreeBSD server, but now when I ssh from my Mac to SuSE server it wants a password now:

   Enter passphrase for /home/myusername/.ssh/id_rsa:

I read the FreeBSD handbook section "14.11.7 ssh-agent and ssh-add" and don't have anything much more intelligent to say but "I don't understand". ;)

Questions:

   1. If the ssh-agent and ssh-add utilities load the keys into memory, they'd be wiped if I rebooted?

   2. Is #1 why I'd add it to my ~/.profile?

   3. How am I able to ssh (without a password) from my Mac to SuSE server or Mac to FreeBSD server when I don't have
       "eval `ssh-agent`" and "ssh-add" in my .profile on my Mac?





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