As pointed in my mail I kept all the variable paths to bashrc file as well as in the jobscript file.

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 [ https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg16338.html ].  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.

I already copied the key in the
id_rsa.pub file to authorized_keys file (both are in the same server where wien2k installed)  to make the password free ssh.

[renwei@ln3 ~/.ssh]$ ls -la
total 32
drwx------  2 renwei renwei  4096 Jun 15 04:10 .
drwx------ 44 renwei renwei  4096 Jun 15 04:10 ..
-rw-------  1 renwei renwei  1200 May 19 13:46 authorized_keys
-rw-------  1 renwei renwei  1675 May 17 13:44 id_rsa
-rw-r--r--  1 renwei renwei   392 May 17 13:44 id_rsa.pub
-rw-r--r--  1 renwei renwei 11641 Jun 14 10:45 known_hosts

do I need to change the permission between the authorized_keys & id_rsa.pub ...?

At https://www.tecmint.com/ssh-passwordless-login-using-ssh-keygen-in-5-easy-steps/ :

chmod 640 is used for authorized_keys which should give:

-rw-r-----

The r for the group owning the file [ https://www.comentum.com/unix-osx-permissions.html ] 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.

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 [ https://www.tecmint.com/ssh-passwordless-login-using-ssh-keygen-in-5-easy-steps/ ] or ssh-copy-id [ https://www.ssh.com/ssh/copy-id ].



_______________________________________________
Wien mailing list
Wien@zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
SEARCH the MAILING-LIST at:  
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html

Reply via email to