How does one utilize ssh-agent? Does it go into .bash_profile?
I want to have it automatically started when I first login. Note,
that means subsequent invocations of bash do not call it up. Also,
how does one utilize the generated output in a script? I have tried
several iterations, that have all failed.

Everytime, I have used it, I basically had to do everything by hand, i.e.
cut and paste of the output from ssh-agent to the command line.

Example output from the command...

SSH_AUTH_SOCK=/tmp/ssh-XXXXXXXX/agent.#####; export SSH_AUTH_SOCK;
SSH_AGENT_PID=#####; export SSH_AGENT_PID;
echo Agent pid #####;

Each individual statement alone works fine. It is just when you try
to run all 5 that bash balks and says it can't find file
/tmp/ssh-XXXXXXXX/agent.#####

Thanks,

Carey

-- 
 ======================================================================
<>  Carey F. Cox, PhD          |  PHONE: (318) 257-3770               <>
<>  Assistant Professor        |  FAX:   (318) 257-2306               <>
<>  Dept. of Mech. Eng.        |  EMAIL: [EMAIL PROTECTED]        <>
<>  Louisiana Tech University  |  WEB:   http://www.latech.edu/~cfcox <>
 ======================================================================



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to