- 论坛徽章:
- 0
|
rcp报错,rshd: 0826-826
JHA:/tmp#rcp -rp ./mxin db1:/tmp
rshd: 0826-826 The host name for your address is not known.
主机JHA上
1.JHA:/tmp#more /etc/hosts.equiv
jha root
jhb root
2.JHA:/tmp#more /etc/hosts
.......
10.96.30.206 db1 (我新添加)3.JHA:/tmp#more /.rhosts
.......
db1 (我新添加)
4./usr/bin#ls -alt|grep rcp
-r-sr-xr-x 1 root system 44478 Nov 09 2006 rcp
主机db1上
1.more /etc/hosts.equiv
db1 root
db2 root
2.more /etc/hosts
......
10.96.32.5 JHA 我新添加3.more /.rhosts
.......
JHA 我新添加
后来我man rcp看到提到/etc/hosts.equiv,我分别在JHA的
hosts.equiv中增加了db1 root,在db1的hosts.equiv中也增加了JHA root,结果执行rcp也不行
JHA:/tmp#more /etc/hosts.equiv
jha root
jhb root
db1 root
DB1:/tmp#more /etc/hosts.equiv
db1 root
db2 root
JHA root
[ 本帖最后由 babyzhou 于 2008-1-24 18:50 编辑 ] |
|