Discussion:
(handle_mpd_output 386)
(too old to reply)
i***@googlemail.com
2008-10-07 09:12:29 UTC
Permalink
hi everyone,

I am a new bee.

I am trying to make mpich2 run on 2 linux machines. I gone through the
README file and came to the point mpdboot.

when i run command "mpdboot -n 2 -v -f mpd.hosts", i get the following
error "failed to handshake".

***@landa:~/mpich2-install> mpdboot -n 2 -v -f mpd.hosts
running mpdallexit on landa
LAUNCHED mpd on landa via
RUNNING: mpd on landa
LAUNCHED mpd on linux-wyl9 via landa
Password:
mpdboot_landa (handle_mpd_output 386): failed to handshake with mpd on
linux-wyl9; recvd output={}

is there any suggestion to solve this problem ?

ilke
c***@gmail.com
2008-10-20 17:40:58 UTC
Permalink
Hello,

It looks like you don't have passwordless login on your remote
host
LAUNCHED mpd on linux-wyl9  via  landa
mpdboot_landa (handle_mpd_output 386): failed to handshake with mpd on
This is done using the command

$ssh-keygen -t rsa

on each computer. This creates a private key (id_rsa) unique to each
computer and a public key (id_rsa.pub) which is shared to each other
computer that wants to use passwordless login by adding the contents
of id_rsa.pub to the file authorized_keys. For example

$cd ~/.ssh
$ ls
known_hosts authorized_keys
$ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/cole/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/cole/.ssh/id_rsa.
Your public key has been saved in /home/cole/.ssh/id_rsa.pub.
The key fingerprint is:
93:ff:40:5c:7d:5b:db:f0:86:52:7b:fe:b4:47:dd:f4 ***@computer.domain
$ls
id_rsa id_rsa.pub known_hosts authorized_keys

Then copy the contents of id_rsa.pub into the authorized_keys file on
the machine you are trying to remote login to. Make sure that
authorized_keys is only read and writable by you (chmod 600
authorized_keys), and then make sure you go through the process again
on the other machine so you can passwordless login backwards (ie the
above setup only works one way)

Loading...