Using Internet Services

Contents
5
1. Logging into a Host with telnet
Checking Your Local Terminal Configuration . . . . . . . . . . . . . . . . . . . . .10
Using telnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
A Faster Way to Use telnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
Checking Your Remote Terminal Configuration . . . . . . . . . . . . . . . . . . .13
Changing the Behavior of Carriage Returns . . . . . . . . . . . . . . . . . . . . . .14
Obtaining Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
Listing the telnet Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
Getting Information about a Specific telnet Command . . . . . . . . . . . .15
2. Logging into a Host with rlogin
Using rlogin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
Creating a $HOME/.rhosts File on a Remote Host . . . . . . . . . . . . . . .19
3. Transferring Files with ftp
Using ftp. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22
Setting Up Automatic Remote Login for ftp . . . . . . . . . . . . . . . . . . . . . .24
4. Transferring Files with rcp
Enabling rcp. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
Using rcp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
5. Executing Commands with remsh
Enabling remsh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
Using remsh. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32
6. Listing Hosts with ruptime