[torqueusers] ssh command in the job script

Qiong Zhang jamesz at yahoo-inc.com
Fri Jun 6 17:09:18 MDT 2008

Hi, all,


I have following problem.


I need to run ssh inside the job script. But the torque session does not
inherit SSH_AUTH_SOCK.

So every time, it complains " Bad passphrase. Permission denied, please
try again."


If I manually set the variable run the script like following:


export SSH_AUTH_SOCK=/tmp/ssh-92bdtW9G/agent.52083

ssh hostA  'ls ~'


It worked perfectly. 


My question is how to set up the SSH_AUTH_SOCK without prompted for
passphrase for torque jobs which needs to run ssh. 




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20080606/f326cbe3/attachment.html

More information about the torqueusers mailing list