On March 19, john at antefacto.com said:
> On Tue, Mar 19, 2002 at 11:35:37AM +0000, Ronan Waide mentioned:
> > On March 19, john at antefacto.com said:
> > > How is SSH Agent supposed to "work". I've done roughly as Kevin has; I've
> > > got ssh-agent running, I've got:
> > ssh-agent is just a storage box for ssh keys. You need to use ssh-add
> > to put the keys in the box. A little light reading wouldn't go amiss,
> > as it's quite well documented.
>> Indeed. I did some, and set everything up, however I don't get any errors
> etc.
>>> if ps aux | grep -q '$USER.*ssh-agent'; then
> ssh-agent > $HOME/.ssh/env
> . $HOME/.ssh/env
> echo "export SSH_AGENT_PID=$SSH_AGENT_PID" > $HOME/.ssh/env
> echo "export SSH_AUTH_SOCK=$SSH_AUTH_SOCK" >> $HOME/.ssh/env
> ssh-add ~/.ssh/identity ~/.ssh/id_dsa
> else
> . $HOME/.ssh/env
> fi
Try adding the keys manually, rather than from a script. Then use
ssh-add to see if they've been added.
Cheers,
Waider.
--
waider at waider.ie / Yes, it /is/ very personal of me.
"Please rant when NT works, because /that would/ be a change."
- Dermot McGahon
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!