Operating System - Linux
1828406 Members
3487 Online
109977 Solutions
New Discussion

Re: problems rsh.exe on windows system

 
bangu00
Advisor

problems rsh.exe on windows system

Dear all

i have three system as below

1. linux : CentOS release 6.1

2. hp-ux : 11.23

3. windows : win 2008 r2 (ip 1.1.1.1)

 

i've got rsh.exe for win2008 r2 in web-site, and i've configured for linux, hp-ux server as below

#>vi .rhosts

    1.1.1.1    Administrator

 

And I tried to connect to 1,2 hosts with rsh.exe command as below

C:\>rsh.exe hp-ux -l root "df -k"

      ==> OK

C:\>rsh.exe linux -l root "df -k"

      ==> error message : cannot connect to socket:

 

Please let me know.......

3 REPLIES 3
S_Logan
HPE Pro

Re: problems rsh.exe on windows system

Hi Bangu,

 

Please refer this link:

 

http://www.symantec.com/business/support/index?page=content&id=TECH29790

 

HTH

Surendar

I work for HPE

Accept or Kudo


[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Steven Schweda
Honored Contributor

Re: problems rsh.exe on windows system

 
Nighwish
Frequent Advisor

Re: problems rsh.exe on windows system

Hello

 

 

First check if you have rsh and rsh-server in your linux box:

 

yum list | grep -i rsh

yum list | grep -i rsh-server

 

Then check if rsh and rsh-server are active at boot:

 

chkconfig --list | grep -i rsh-server

 

If not active them:

 

  • chkconfig rsh on
  • chkconfig rexec on
  • chkconfig rlogin on
  • service xinetd restart

Then check if they are running:

ps -ef | grep -i rsh

 

Then configure .rhosts

 

Then test

 

Then reply :)

 

Regards

 

 

  • chkconfig rlogin on