On Tue, Mar 19, 2002 at 11:55:31AM +0000, John P. Looney wrote:
> if ps aux | grep -q '$USER.*ssh-agent'; then
note that i put $USER in to make the script generic for posting.
therefore the line should really be:
> 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
>> So, it seems that I do the ssh-add...but it doesn't seem to make that
> much difference...
what comes out of:
env | grep SSH
did you put the ssh public keys in ~/.ssh/authorised_keys on the server?
kevin
--
kevin at suberic.net buffy: come on, can't you put your foot down?!
fork()'ed on 37058400 giles: it *is* down.
meatspace place: orbit buffy: one of these days you're going to have to
http://suberic.net/~kevin get a grown up car. --inca mummy girl
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!