in.rshd (8) Linux Manual Page
rshd – remote shell server
Synopsis
rshd [-ahlnL ]
Description
The rshd server is the server for the rcmd(3) routine and, consequently, for the rsh(1) program. The server provides remote execution facilities with authentication based on privileged port numbers from trusted hosts.
The rshd server listens for service requests at the port indicated in the “cmd” service specification; see services(5). When a service request is received the following protocol is initiated:
- The server checks the client’s source port. If the port is not in the range 512-1023, the server aborts the connection.
- The server reads characters from the socket up to a null (`
