On Sun, Jul 09, 2000 at 01:22:27PM -0700, Wilton wrote:
> issue the following command on a new openssh-2.1.1p2.tar.gz install
> (RedHat6.1):  ssh-agent; ssh-add    as non-root?  When I do this I

sure.  why not?

> get the error that ssh-add could not connect to authentication agent.
>  It's a result of the shell variables not being set correctly.  
> 
> Is this a bug or just how it's suppose to operate?

This is how it's supposed to operate because you haven't read the man page
for ssh-agent.

The short version is that you need to set certain environment variables
to point your shell at the agent.  If you just run "ssh-agent", it'll
dump the variables to STDOUT but not set them (you can do it manually,
but it can't).  You can try "ssh-agent $SHELL" and have ssh-agent spawn
a new shell for you w/ the variables set.  Then ssh-add will work fine.

-- 
Randomly Generated Tagline:
    if (argc > 1 && strcmp(argv[1], "-advice") == 0) {
        printf("Don't Panic!\n");
        exit(42);
     }
 (Arnold Robbins in the LJ of February '95, describing RCS)

Reply via email to