【发布时间】:2013-01-30 04:12:31
【问题描述】:
我尝试在主机中添加从机。但是当它添加时,它会要求输入密码。我没看懂。
大师 = jhamb
奴隶 = naveen、raja、gaurav
请解决以下错误。期待您的善意回应。
控制台快照:-
当我尝试添加任何主机时,它会显示这些行
0successful
HOST DTID
ANY NAME NO SUCH HOST
vim /etc/hosts 显示 :-
# Do not remove the following line, or various programs
# that require network functionality will fail.
#127.0.0.1 localhost.localdomain localhost
10.40.54.180 gaurav.my.domain #node 1 slave
10.40.54.92 naveen.my.domain #node 2 slave
10.40.55.31 raja.my.domain #node 3 slave
10.40.55.113 localhost.localdomain #node 4 master
#::1 localhost6.localdomain6 localhost6
已编辑
我在这里写,关于我的工作,我到目前为止所做的事情
- 下载 pvm3 tar 文件。
- 设置所有变量以运行 PVM。
- 导出 PVM_RSH=/ur/bin/ssh
- 在主从之间建立无密码连接。
- 在单机上运行简单的代码,就可以了。
- 当我尝试在主服务器上添加从服务器时,使用命令
add naveen.my.domain和上图一样。
我认为现在信息已经足够了。
编辑编号。 2
当我运行 ssh -v naveen@10.40.54.92 时,它会说,
......
.....
debug1: Authentications that can continue: publickey, password
debug1: Next Authentication method: publickey
debug1: Trying private key: /root/.ssh/identity
debug1: Offering public key: /root/.ssh/id_rsa
debug1: Server accepts key:pkalg ssh-rsa blen 277
debug1: read PEM private key done: type RSA
debug1: Authentication succeeded (publickey).
debug1: channel 0:new [client-session]
debug1: Entering Interactive session.
debug1: Sending environment.
.......
.....
【问题讨论】:
标签: linux shell parallel-processing distributed-system pvm