Re: ssh-agent for openSSH does not export SSH_AUTH_SOCK..
From: Richard E. Silverman (slade@shore.net)Date: 05/26/02
- Next message: Martin Lee: "Servers"
- Previous message: Christian Koch: "ssh-agent for openSSH does not export SSH_AUTH_SOCK.."
- In reply to: Christian Koch: "ssh-agent for openSSH does not export SSH_AUTH_SOCK.."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: slade@shore.net (Richard E. Silverman) Date: 26 May 2002 13:12:43 -0400
> Hi,
> I have the problem that I cannot access the ssh-agent once started, because
> the prog does not export the ENV Variables.
No; you have the problem that you didn't read the man page carefully and
have odd expectations. It cannot "export the ENV variables;" it has no
way of affecting the environment in your shell.
% 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`
-- Richard Silverman slade@shore.net
- Next message: Martin Lee: "Servers"
- Previous message: Christian Koch: "ssh-agent for openSSH does not export SSH_AUTH_SOCK.."
- In reply to: Christian Koch: "ssh-agent for openSSH does not export SSH_AUTH_SOCK.."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|