2

I am trying to set up an MPI cluster, following Setting Up an MPICH2 Cluster in Ubuntu tutorial.

However, in step 7, I execute:

cat id_pub.dsa >> authorized_keys

but I am getting:

cat: id_pub.dsa: No such file or directory

What am I missing?


Edit:

gsamaras@pythagoras:~/.ssh$ pwd
/home/gsamaras/.ssh
gsamaras@pythagoras:~/.ssh$ ls
authorized_keys  id_rsa  id_rsa.pub  known_hosts
2
  • From which directory you have run the command ? pwd?
    – heemayl
    May 25, 2015 at 20:22
  • @heemayl edited. Off-topic: Respect for Steven btw.
    – gsamaras
    May 25, 2015 at 20:33

1 Answer 1

2

It is a typo (seriously!!) in the documentation. What it really meant is to copy the rsa public key to the authorized_keys file so that you can ssh using keys (no password). So the command should be:

cat id_rsa.pub >> authorized_keys 

After digging found that the mistake was introduced in revision 15 while changing the key type to use from dsa to rsa.

EDIT: I have edited the Wiki to make it correct.

5
  • That's what I thought too, wish I could notify the creator of this great tutorial!
    – gsamaras
    May 25, 2015 at 20:32
  • At the end of the tutorial, it says: "You can contribute to this wiki, see Wiki Guide for details ". It's talking to Moyle.
    – gsamaras
    May 25, 2015 at 20:38
  • @G.Samaras Check my edit..you can edit it too..create an account at launchpad..then you can either edit or inform the author to modify the typo..
    – heemayl
    May 25, 2015 at 20:47
  • I do not know who is the author. You found the typo, not me ;) I will test it now.
    – gsamaras
    May 25, 2015 at 20:52
  • 1
    @G.Samaras I have edited the Wiki ..check now
    – heemayl
    May 25, 2015 at 20:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .