HP-UX Remote Access Services Administrator's Guide

rwhod performs the following functions as an information receiver:
Listens for other rwhod servers’ status messages.
Validates the status messages.
Records the status messages in files located in the /var/spool/rwho directory.
By default, rwhod sends and receives information. You can configure rwhod to either
send or receive information by using the -s and -r options, respectively. rwhod starts
during system startup if the variable RWHO is set to 1 in the
/etc/rc.config.d/netdaemons file.
For more information, type man 1M rwhod at the HP-UX prompt.
The telnet Program
You can use the telnet service to communicate with another host using the
telnet protocol. The telnet program runs on the local system and connects the local
system to a host on the network. Using the telnet program, you can enter and execute
commands on the remote host, similar to executing commands on the remote host’s
console. To start a telnet session, you must log in to a server by entering a valid user
name and password.
The telnet command has the following syntax:
telnet [[options] host [port]]
If you invoke telnet without arguments, it enters the command mode, indicated by
the prompt telnet>. If you invoke telnet with arguments, it performs an open
command.
When a connection is opened, telnet enters input mode. The input mode is either
character at a time or line by line, depending on what the remote system
supports.
In the character at a time mode, the text typed is immediately sent to the remote
host for processing. In the line by line mode, the entire text is echoed locally, and
only the completed lines are sent to the remote host. You can turn off or turn on the
local echo character (^E). In either mode, if the localchars toggle is set to
TRUE, the users quit and intr characters are trapped locally, and sent as telnet
protocol sequences to the remote side.
If, at any time, telnet is unable to read from or write to the server over the connection,
the following error message is displayed on standard error, and telnet exits with a
value of 1:
Connection closed by foreign host
28 Remote Access Services Overview