<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<blockquote type="cite"
cite="mid:CACS+pXPUsNRsncs6ySaXJZ8N5XPJnatoyn44YA49Sd5-ZKB0nw@mail.gmail.com">
<div dir="ltr">
<div>As pointed in my mail I kept all the variable paths to
bashrc file as well as in the jobscript file.</div>
</div>
</blockquote>
<br>
You didn't mention you were using a job script. I assumed you
weren't. That may be important. Some queue systems require a flag
in the job script to export the environmental variables correctly
like -V for PBS [
<a class="moz-txt-link-freetext" href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg16338.html">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg16338.html</a>
]. If you are using something other than PBS, you will have to
check the documentation for your queue system to see if
automatically propagates your .bashrc settings or if you have to add
a flag or something to do so. I believe many of queues systems have
their mailing list or forums were you can ask experts for that
specific queue system if the information is not easy to find in
their documentation.<br>
<br>
<blockquote type="cite"
cite="mid:CACS+pXPUsNRsncs6ySaXJZ8N5XPJnatoyn44YA49Sd5-ZKB0nw@mail.gmail.com">
<div dir="ltr">
<div>I already copied the key in the<br>
id_rsa.pub file to authorized_keys file (both are in the same
server where wien2k installed) to make the password free ssh.</div>
<div><br>
</div>
<div>[renwei@ln3 ~/.ssh]$ ls -la<br>
total 32<br>
drwx------ 2 renwei renwei 4096 Jun 15 04:10 .<br>
drwx------ 44 renwei renwei 4096 Jun 15 04:10 ..<br>
-rw------- 1 renwei renwei 1200 May 19 13:46 authorized_keys<br>
-rw------- 1 renwei renwei 1675 May 17 13:44 id_rsa<br>
-rw-r--r-- 1 renwei renwei 392 May 17 13:44 id_rsa.pub<br>
-rw-r--r-- 1 renwei renwei 11641 Jun 14 10:45 known_hosts<br>
<br>
do I need to change the permission between the authorized_keys
& id_rsa.pub ...?</div>
</div>
</blockquote>
<br>
At
<a class="moz-txt-link-freetext" href="https://www.tecmint.com/ssh-passwordless-login-using-ssh-keygen-in-5-easy-steps/">https://www.tecmint.com/ssh-passwordless-login-using-ssh-keygen-in-5-easy-steps/</a>
:<br>
<br>
chmod 640 is used for authorized_keys which should give:<br>
<br>
-rw-<font color="#ff0000">r</font>-----<br>
<br>
The r for the group owning the file [
<a class="moz-txt-link-freetext" href="https://www.comentum.com/unix-osx-permissions.html">https://www.comentum.com/unix-osx-permissions.html</a> ] is different
from what you have. What you have may be fine, but you want to try
changing it using the chmod 640 to be safe.<br>
<br>
To get it working, you also may need to copy the SSH key to all of
the compute nodes. Did you do that? I believe that can be done
with either cat [
<a class="moz-txt-link-freetext" href="https://www.tecmint.com/ssh-passwordless-login-using-ssh-keygen-in-5-easy-steps/">https://www.tecmint.com/ssh-passwordless-login-using-ssh-keygen-in-5-easy-steps/</a>
] or ssh-copy-id [ <a class="moz-txt-link-freetext" href="https://www.ssh.com/ssh/copy-id">https://www.ssh.com/ssh/copy-id</a> ].<br>
<br>
<br>
<br>
</body>
</html>