Wednesday, 15 May 2013

linux - Failed to establish ssh connection passwordless to run PVM codes -



linux - Failed to establish ssh connection passwordless to run PVM codes -

i tried build pvm code. ssh connection without password required. searched lot , found tutorial , implemented same, didn't work.

my work:-

master jhamb.

slave naveen.

firstly generate ssh keys on master(jhamb), using command

ssh-keygen -t rsa

then copied id_rsa.pub file slave(naveen) machine, using command

scp /home/jhamb/.ssh/id_rsa.pub naveen@10.40.54.92:/home/naveen/.ssh/authorized_keys

then login slave master., using

ssh naveen@10.40.54.92

but asking password.

help me solve problem, can configure farther pvm.

looking kind response.

depending on ssh version, might have this:

- set public key in .ssh/authorized_keys2 - alter permissions of .ssh 700 - alter permissions of .ssh/authorized_keys2 640

linux shell ssh distributed-system pvm

No comments:

Post a Comment