root's ssh-agent $SSH_AUTH_SOCK

Martin Airs camberwell at gmail.com
Sat Nov 28 00:10:20 UTC 2009


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 --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3656 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20091128/ff9ba7ad/attachment.p7s>


More information about the fedora-devel-list mailing list