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