Re: [Wien] ssh with password authentication

2013-08-26 Thread Peter Blaha
Yes. Just read the UG. All you need is a common (NFS) filesystem and 
passwordless login via ssh-keygen


On 08/25/2013 01:03 PM, Yundi Quan wrote:

Hi,
Can WIEN2k use multiple nodes which do not share memory with each other
and requires password to communicate?


Yundi


___
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



--

  P.Blaha
--
Peter BLAHA, Inst.f. Materials Chemistry, TU Vienna, A-1060 Vienna
Phone: +43-1-58801-165300 FAX: +43-1-58801-165982
Email: bl...@theochem.tuwien.ac.atWWW: 
http://info.tuwien.ac.at/theochem/

--
___
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


Re: [Wien] ssh with password authentication

2013-08-26 Thread Elias Assmann

On 08/25/2013 01:03 PM, Yundi Quan wrote:

Can WIEN2k use multiple nodes which do not share memory with each other
and requires password to communicate?


If you are talking about a situation where you are unable to use 
passwordless login like Peter suggested, there is a way to do it.


It is not trivial (i.e. `echo PASSWORD | ssh ...´ does not work) because 
`ssh´ tries to prevent this kind of thing because it is insecure; you 
have to trick `ssh´ into thinking its input comes from a terminal.  One 
such solution is provided by `sshpass´:

http://sourceforge.net/projects/sshpass/.

Use this script with care, if you have to.  If you can, use the proper 
ssh-keygen / ssh-copy-id method.



Elias

___
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