11.C: Next Using ftp  11: Up Multiple Machines  11.A: Prev The telnet Command  Contents Contents

Basic

§ 11.B: Remote Login: rogin and rloginX (local)


The command telnet is the most basic, and accordingly most universal, way to access another computer. The remote login commands rlogin and rloginX give you more remote power, but are also less universal (for example, if you are careful you can run remote X Window applications with rlogin).

You start a rlogin session exactly like a telnet one, that is, by entering the command followed by the machine (say banana) you wish to log into:

> rlogin banana

If you have a different username on the remote machine, you may want to invoke the -l username option.

Did banana ask for your password? If your local computer is "trusted", the remote computer will accept your user id. You determine which remote machines are "trusted" by placing their names in the .rhosts file. If you were asked for your password--and don't want to be asked again--edit the file .rhosts (if it does not exist, create it). Add a line to .rhosts containing the machine name and your user name, e.g.:

This line states that user johnsonm from goophy.physics.orst.edu is trusted.

Be careful to avoid two posible security problems when using .rhosts. First, be certain that the remote machine is secure. Only the names of Unix machines should be used; Macintosh and PC computers should not be trusted. Second, always use the full name of the machine (goophy.physics.orst.edu) and not the short form (goophy).

End your rlogin session the way you would a regular login session:

If you are working on an xstation, you can use the rloginX command. This command is like rlogin except that it allows you to use X Window applications like Netscape and Xmaple, as well as text based applications.

Soon we will discuss how to use your ucs account for mail. But first we'll discuss how to use the file transfer protocol command ftp to transfer files.


11.C: Next Using ftp  11: Up Multiple Machines  11.A: Prev The telnet Command  Contents Contents

Comments and questions to CP-unix@physics.orst.edu.