SSH means SECURE Shell. That being said, it would not be very secure without
a password, now would it?



Besides it is the user account that requires passwords, not SHH.





From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On
Behalf Of Huynh Thuc Cuoc
Sent: Monday, April 05, 2010 9:19 PM
To: Open MPI Users
Subject: Re: [OMPI users] Help om Openmpi



Dear friends,
I am try to follo the advices about to do login to remote by ssh without
password, for example:
This is one of ...:
SSH without password

Using the below steps, you can ssh to the server from client without the
entering any password.
The machine which run the ssh command is the client
The machine that the client access using ssh is the server

   1. Run the following command on the client
          * -> ssh-keygen -t dsa
   2. File id_dsa and id_dsa.pub will be created inside $HOME/.ssh
   3. Copy id_dsa.pub to the server's .ssh directory
          * -> scp $HOME/.ssh/id_dsa.pub user@server:/home/user/.ssh
   4. Change to /root/.ssh and create file authorized_keys containing id_dsa
content
          * -> cd /home/user/.ssh
          * -> cat id_dsa >> authorized_keys
   5. You can try ssh to the server from the client and no password will be
needed
          * -> ssh user@server

BUT, when I test login to remote host, alway passwd request.
How ang what I have to do. I runs all (headnode and nodes ) with ConOS 5.4.
Have anyone IDEALS !
HT Cuoc



On Wed, Mar 31, 2010 at 5:43 PM, Jeff Squyres (jsquyres)
<jsquy...@cisco.com> wrote:

Yes, you need to install open mpi on all nodes and you need to be able to
login to each node without being prompted for a password. 

Also, not that v1.2.7 is pretty ancient. If you're juist starting with open
mpi, can you upgrade to the latest version? 

-jms 
Sent from my PDA. No type good.



  _____  

From: users-boun...@open-mpi.org <users-boun...@open-mpi.org> 
To: us...@open-mpi.org <us...@open-mpi.org> 
Sent: Wed Mar 31 03:39:08 2010
Subject: [OMPI users] Help om Openmpi 

Dear all,
I had install my cluster which the configuration as following:
- headnode : 
  + linux CenOS 5.4, 4 CPUs, 3G RAM
  + sun gridengine sge6.0u12. The headnode is admin and submit node too.
  + Openmpi 1.2.9. In the installation openmpi :.configure
--prefix=/opt/openmpi --with-sge ...Processes complilation and make was
fine.
  + I have 2 others nodes which confg. are: 4 CPU, 1 G RAM and on which run
sgeexecd.
Testing for SGE on headnode and nodes by qsub was fine.
When testing openmpi with as folowing:
[guser1@ioitg2 examples]$ /opt/openmpi/bin/mpirun -np 4 --hostfile myhosts
hello_cxx
Hello, world!  I am 0 of 4
Hello, world!  I am 1 of 4
Hello, world!  I am 3 of 4
Hello, world!  I am 2 of 4
[guser1@ioitg2 examples]$ 

The openmpi runs well.
My file myhosts:
ioitg2.ioit-grid.ac.vn slots=4
node1.ioit-grid.ac.vn slots=4
node2.ioit-grid.ac.vn slots=4

Now for more processes:
[guser1@ioitg2 examples]$ /opt/openmpi/bin/mpirun -np 6 --hostfile myhosts
hello_cxx
gus...@node1.ioit-grid.ac.vn's password: 
--------------------------------------------------------------------------
Failed to find the following executable:

Host:       node1.ioit-grid.ac.vn
Executable: hello_cxx

Cannot continue.
--------------------------------------------------------------------------
mpirun noticed that job rank 0 with PID 19164 on node ioitg2.ioit-grid.ac.vn
exited on signal 15 (Terminated). 
3 additional processes aborted (not shown)
[guser1@ioitg2 examples]$ 

This is error massage. I was login on node1 successful.

PLS, Help me. What problems I have 9installation, configurations, ...). Have
I install openmpi on all nodes ?

Thank you very much and I am waitting your helps.





_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users



Reply via email to