HP-UX HB v13.00 Ch-10 - Network Services

HP-UX Handbook Rev 13.00 Page 21 (of 26)
Chapter 10 Network Services
October 29, 2013
[hostname] [username] [#comment]
Common problems include:
Unexpected prompting for password with rlogin- Host equivalency is not properly
established because hostname resolution does not resolve to a hostname which matches
the /etc/hosts.equiv or $HOME/.rhosts file entry.
remshd: Login incorrect. Host equivalency is not properly established.
From rlogin/remsh client login to server (providing password) and enter command who -mR
This produces a display similar to:
bob pts/0 Aug 28 06:49 (rxg16u07.example.com)
# grep rxg16u07 /etc/hosts.equiv or $HOME/.rhosts
There must be an exact match.
rxg16u07.example.com bob
remsh connection timed out - The remshd process must establish a connection back to
the remsh client to pass stdout from the command sent. A firewall may be blocking the
establishment of this connection.
ssh
The ssh service is very popular since it provides strong identity verification of the incoming
client connection (the IP is whom it claims to be and not a “man in the middle”), integrity of the
data passed (it has not been altered), and privacy (logins and session information are encrypted
using strong security mechanisms). It can be configured to allow for login without providing a
password and when configured this way can be substituted for the r-commands. The ssh service
provides the file transfer capabilities sftp and scp.
The ssh service is launched through the script /sbin/init.d/secsh [start/stop]. The sshd
daemon forks off sshd processes to handle incoming connection requests.
The ssh service is not mapped in the HP-UX distributed /etc/services file, however, it is also a
well-known service which operates on port 22.
It offers several authentication mechanisms: Password, Public-Key, Kerberos, Host-Based,
Keyboard-Interactive, and User-Specific.