Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Help om Openmpi
From: Terry Frankcombe (terry_at_[hidden])
Date: 2010-04-06 03:48:52


> 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_at_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_at_server

That prescription is a little messed up. You need to create id_dsa and
id_dsa.pub on the client, as above.

But it is the client's id_dsa.pub that needs to go
into /home/user/.ssh/authorized_keys on the server, which seems to be
not what the above recipe does.

If that doesn't help, try adding -v or even -v -v to the ssh command to
see what the connection is trying to do w.r.t. your keys.