Fwd: root's ssh-agent $SSH_AUTH_SOCK

Martin Airs camberwell at gmail.com
Sat Nov 28 15:00:05 UTC 2009



-------- Original Message --------
Subject: 	root's ssh-agent $SSH_AUTH_SOCK
Date: 	Sat, 28 Nov 2009 00:10:20 +0000
From: 	Martin Airs <camberwell at gmail.com>
Reply-To: 	camberwell at gmail.com
To: 	fedora-devel-list at redhat.com



Good evening all,

I've setup an authorized key for a server I regularly use, but when I
tried to run ssh-add as root, it wouldn't work until I had copied the
SSH_AUTH_SOCK environment variable from my normal user.

I wonder if anyone can tell me the correct way get this variable set
automatically

I can run..

eval `ssh-agent`

which does sets the variable for me, but I don't want to put that
command in say the .bashrc, or should I???

Thanks in advance

Martin Airs

ps. I'm using F12 X86_64


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20091128/dbe7570f/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3656 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20091128/dbe7570f/attachment-0001.bin 


More information about the users mailing list