RSHD(8) BSD System Manager's Manual RSHD(8)
rshd -- remote shell server
The rshd server is the server for the rcmd(3) routine and, consequently, for the rsh(1) program. The server provides remote execution facil-
ities 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:
1. The server checks the client's source port. If the port is not in the range 512-1023, the server aborts the connection.
2. The server reads characters from the socket up to a null ('