ssh-agent and ssh-add with openssh-2.2.0p1 on Redhat 7
Lutz Jaenicke
Lutz.Jaenicke at aet.TU-Cottbus.DE
Tue Oct 31 02:34:33 EST 2000
On Mon, Oct 30, 2000 at 02:41:02PM +0000, Darren Evans wrote:
>
> Hi all,
>
> i'm trying to figure out if i'm being silly or if there is a genuine problem.
>
> Running on the notorious Redhat 7, 2.2.16-22 #1, X86.
>
> [user at host]$ ssh-agent -s
> SSH_AUTH_SOCK=/tmp/ssh-XXYFcFR6/agent.2101; export SSH_AUTH_SOCK;
> SSH_AGENT_PID=2102; export SSH_AGENT_PID;
> echo Agent pid 2102;
Use
eval `ssh-agent`
to have the appropriate environment variables set. Then the "echo"
and "ssh-add" commands will work properly.
Best regards,
Lutz
--
Lutz Jaenicke Lutz.Jaenicke at aet.TU-Cottbus.DE
BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus Fax. +49 355 69-4153
More information about the openssh-unix-dev
mailing list