Re: ssh-agent for openSSH does not export SSH_AUTH_SOCK..

From: Christian Koch (ordo_septenarius@t-online.de)
Date: 05/27/02


From: Christian Koch <ordo_septenarius@t-online.de>
Date: Mon, 27 May 2002 10:50:17 +0200

Richard E. Silverman wrote:

> % man ssh-agent
> ...
> There are two main ways to get an agent setup: Either the agent
> starts a new subcommand into which some environment variables are
> exported, or the agent prints the needed shell commands (either sh(1)
> or csh(1) syntax can
> be generated) which can be evalled in the calling shell. Later
> ssh(1) looks at these variables and uses them to establish a
> connection to the agent.
> ...
>
>> How can I solve that problem?
>
> % eval `ssh-agent -s`
>
thanks, you are right. Reading the man pages now more carefully...



Relevant Pages

  • Re: using "at" and ssh
    ... >> but now there is this ssh-agent running that I can't use for anything, ... >You don't have to start a new agent. ... >have saved the relevant environment variables in a file so they can be ... test script called foo that looks like this: ...
    (comp.security.ssh)
  • Re: using "at" and ssh
    ... >> but now there is this ssh-agent running that I can't use for anything, ... > You don't have to start a new agent. ... > have saved the relevant environment variables in a file so they can be ... Like John said, the clients rendezvous with the agent via ...
    (comp.security.ssh)
  • Re: ssh-agent for openSSH does not export SSH_AUTH_SOCK..
    ... > There are two main ways to get an agent setup: ... > starts a new subcommand into which some environment variables are ... or the agent prints the needed shell commands ...
    (comp.security.ssh)
  • Re: using "at" and ssh
    ... > new ssh-add against this old ssh-agent. ... You don't have to start a new agent. ... have saved the relevant environment variables in a file so they can be ...
    (comp.security.ssh)
  • Problem with ssh-agent and ssh-add
    ... environment variables in a hash dictionary. ... ssh-add (pty is started in order to give the passphrase as the input). ... But, while executing ssh-add, we are getting the error "Could not open ... a connection to your authentication agent.". ...
    (comp.unix.solaris)