Configuring and Managing MPE/iX Internet Services (August 2002)

Chapter 6
REMSH Service
Overview of remsh Service
70
Overview of remsh Service
The remote shell remsh, is the same service as rsh on BSD UNIX systems. The name was changed due to a
conflict with the existing command rsh (restricted shell) on System V UNIX systems.
Use remsh to connect to the remote system and execute a command on that remote system. Output from the
remote command is sent to standard output for remsh, so the user can see the results of the command.
Verifying Installation of remsh Files
The remsh client is part of the Internet Services product with release C.60.00. To verify that remsh is
available on your system you may use NMMAINT verify versions of the Internet services product.
hawaii(PUB); nmmaint,73
NMS Maintenance Utility 32098-20014 B.00.09 (C) Hewlett Packard Co. 1984
WED, JUL 23, 1997, 11:08 AM Data comm products build version: N.55.15
Subsystem version IDs:
Internet Services for the HP e3000 module versions:
NM program file: INETD.NET.SYS Version: B0001003
NM program file: BOOTPD.NET.SYS Version: B0001003
NM program file: BOOTPQRY.NET.SYS Version: B0001002
NM program file: TFTPD.NET.SYS Version: B0001002
NM program file: REMSH.NET.SYS Version: B0001003
XL procedure: INSVXL_SECURE_VERS Version: B0001004
XL procedure: INSVXL_IPCSEC_VERS Version: B0001002
XL procedure: INSVXL_NSRW_VERS Version: B0001003
XL procedure: INSVXL_NETOF_VERS Version: B0001002
XL procedure: INSVXL_SYSLOG_VERS Version: B0001003
XL procedure: INSVXL_SIGNAL_VERS Version: B0001002
XL procedure: INSVXL_GETTIME_VERS Version: B0001003
Internet Services for the HP e3000 overall version = B.00.01
Configuring remsh Client
There is only one file on the MPE/iX system that you will need to change in order to allow use of the remsh
client. That is the file SERVICES.NET.SYS. However, there are some files that will need to be configured on the
remote UNIX systems.
Editing the Services File
The services file associates official service names and aliases with the port number and protocol the services
use. To enable remsh, you must edit the services file. Perform the following:
1. Open the services file with a text editor. You may edit the /etc/services file from the POSIX shell or
the SERVICES.NET.SYS file from MPE/iX, whichever you prefer. Both names should point to the same file.
2. Verify that the following line exists in the file, or add it if it does not:
shell 514/tcp cmd # remote command, no passwd used