1752743 Members
4970 Online
108789 Solutions
New Discussion юеВ

Re: RSH problem

 
Mulder_1
Frequent Advisor

RSH problem

I receive this error when I issue RSH :

$:> rsh 192.168.25.5
%RSH-E-SERVNOTAVAIL, Remote service is not currently available
-SYSTEM-F-REJECT, connect to network object rejected

The service is enabled,nor sure if it is blocked somewhere in the network.Please suggest.

TCPIP> sh serv rsh

Service Port Proto Process Address State

RSH 514 TCP TCPIP$RSH 0.0.0.0 Enabled
TCPIP> sh serv rsh/fu

Service: RSH
State: Enabled
Port: 514 Protocol: TCP Address: 0.0.0.0
Inactivity: 5 User_name: not defined Process: TCPIP$RSH
Limit: 3 Active: 0 Peak: 0

File: TCPIP$SYSTEM:TCPIP$RSH_RUN.COM
Flags: Case Listen Proxy Rexe IPv6

Socket Opts: Rcheck Scheck
Receive: 0 Send: 0

Log Opts: Acpt Actv Dactv Conn Error Exit Mdfy Rjct TimO Addr
File: not defined

Separators:
Port: 0 User_name: 0 Password: 0 Command: 0

Security
Reject msg: not defined
Accept host: visel.rtco.com
Accept netw: 0.0.0.0
TCPIP>



Thanks
6 REPLIES 6
Joseph Huber_1
Honored Contributor

Re: RSH problem

Is the TCPIP show service done at the target host 192.168.25.5 ?
Is the accept host visel.rtco.com the one You trying the rsh command ?

The accept command is blocking all but the specified host.
http://www.mpp.mpg.de/~huber
Joseph Huber_1
Honored Contributor

Re: RSH problem

>> The accept command
meant: the accept host entry ,
http://www.mpp.mpg.de/~huber
Mulder_1
Frequent Advisor

Re: RSH problem

The target is having the same info :

TCPIP> sh serv rsh

Service Port Proto Process Address State

RSH 514 TCP TCPIP$RSH 0.0.0.0 Enabled
TCPIP> sh serv rsh/fu

Service: RSH
State: Enabled
Port: 514 Protocol: TCP Address: 0.0.0.0
Inactivity: 5 User_name: not defined Process: TCPIP$RSH
Limit: 3 Active: 0 Peak: 0

File: TCPIP$SYSTEM:TCPIP$RSH_RUN.COM
Flags: Case Listen Proxy Rexe IPv6

Socket Opts: Rcheck Scheck
Receive: 0 Send: 0

Log Opts: Acpt Actv Dactv Conn Error Exit Mdfy Rjct TimO Addr
File: not defined

Separators:
Port: 0 User_name: 0 Password: 0 Command: 0

Security
Reject msg: not defined
Accept host: visel.rtco.com
Accept netw: 0.0.0.0
TCPIP>

Thanks
Joseph Huber_1
Honored Contributor

Re: RSH problem

Yes, and my question was also:
is visel.rtco.com the source (requester) of the rsh command ?
If NOT, then the accept host entry is the reason why it rejects the connection.
http://www.mpp.mpg.de/~huber
Steven Schweda
Honored Contributor

Re: RSH problem

> TCPIP> sh serv rsh

What about "rlogin"? An RSH command with no
remote_command on the line uses the RLOGIN
service, not RSH.

alp $ help rsh

RSH

[...]
When using the RSH command, consider the following:

o If you omit a command for remote execution, RSH initiates a
remote login session (see the RLOGIN command).
[...]


I believe that "-SYSTEM-F-REJECT" here is
equivalent to the UNIX "Connection refused",
that is, there's no server there.
Steven Schweda
Honored Contributor

Re: RSH problem

> $:> rsh 192.168.25.5

Of course, the first test would be to add a
remote_command. For example:

rsh 192.168.25.5 show default