首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

rsh 为什么不行 :Connection refused解决办法

2012-03-21 
rsh 为什么不行 :Connection refused[root@lx95~]#rshlx95echotestconnecttoaddress192.168.1.95:Connecti

rsh 为什么不行 :Connection refused
[root@lx95   ~]#   rsh   lx95   echo   test
connect   to   address   192.168.1.95:   Connection   refused
Trying   krb4   rsh...
connect   to   address   192.168.1.95:   Connection   refused
trying   normal   rsh   (/usr/bin/rsh)
test
[root@lx95   ~]#   cat   /etc/hosts
#   Do   not   remove   the   following   line,   or   various   programs
#   that   require   network   functionality   will   fail.
127.0.0.1               localhost.localdomain       localhost
192.168.1.95         lx95.localdomain                 lx95
192.168.1.94         lx94.localdomain                 lx94

[root@lx95   ~]#   cat   /root/.rhosts
192.168.1.95   root

以上是相关信息,求大侠帮忙


[解决办法]
根据日志,test字符串已经打出来了
现在的linux默认使用带加密认证的rsh,不能用时再使用传统rsh。
lz这样用就能跳过去:
/usr/bin/rsh lx95 echo test

热点排行