[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Ssh keys problem

On Tuesday 21 March 2006 15:12, Stuart Sears wrote:
> On Tuesday 21 March 2006 12:01, Anne Wilson decided we wanted to hear the
> following:
> > > ssh-agent is just an empty pocket until you give it your key and
> > > passphrase with ssh-add.
> >
> > That creates id_dsa - which was there before.  Is there some sort of
> > clean-up going on, so that it needs to be renewed?
> nope.
> ssh-keygen -t dsa
> would regenerate ~/.ssh/id_dsa{,.pub}
> ssh-add just looks for your key (probably id_dsa ) and caches the password
> you type in.
> I assume you were seeing something like this...
> [stuart lanky ~]$ ssh-agent
> SSH_AUTH_SOCK=/tmp/ssh-NoFCr14079/agent.14079; export SSH_AUTH_SOCK;
> SSH_AGENT_PID=14080; export SSH_AGENT_PID;
> echo Agent pid 14080;
> [stuart lanky ~]$ ssh-add
> Enter passphrase for /home/stuart/.ssh/id_dsa:
> that just wants the password so it can cache it.
> incidentally, were you really ssh-ing to localhost (borg) earlier?
> <quote>
> Warning - the authenticity of host 'borg ('... can't be
> established </quote>
Yes, rsync with ssh, like this:

rsync -e "/usr/bin/ssh" -auvz /home/anne/Documentation/ 
anne borg:/home/anne/Documentation

I don't understand why two days ago I could send several sets of docs over 
with just one password entry, but I can't now.  Caching just didn't seem to 
be working.  It seems to be now, so hopefully putting that entry into 
Xclients has fixed it.


Attachment: pgp5LGQTfrVSs.pgp
Description: PGP signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]