Using HP-UX Internet Services (August 2003)

5
Contents
About This Document
1. Logging into a Host Using telnet
Checking Your Local Terminal Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Using telnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Normal Procedure to Invoke telnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Quicker Method to Invoke telnet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Checking Your Remote Terminal Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Changing the Behavior of Carriage Returns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Disabling or Enabling the Carriage Return . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Obtaining Help. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Listing the telnet Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Getting Information about a Specific telnet Command . . . . . . . . . . . . . . . . . . . . . . . 20
2. Logging into a Host with rlogin
Using rlogin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Creating a $HOME/.rhosts File on a Remote Host. . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3. Transferring Files with ftp
Using ftp. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Setting Up Automatic Remote Login for ftp. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
4. Transferring Files with rcp
Enabling rcp. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32
Using rcp. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5. Distributing Files Using rdist
Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Setting Up remsh. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Authentication for remsh and rexec Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
PAM Configuration File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Enabling Standard UNIX Authentication on rexecd and remshd Services. . . . . . 41
Enabling DCE Integrated Logging Authentication. . . . . . . . . . . . . . . . . . . . . . . . . 41
Using remshd in a Secure Internet Services Environment . . . . . . . . . . . . . . . . . . 41
Creating the distfile. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42