rlogin



Copyright Phillip Farrell. Last revision August 3, 2004

From a Unix shell login command line, simply type

    rlogin systemname

to make a connection to your account on the remote computer systemname.

You will not be prompted for account name or password (assuming your .rhosts file is setup correctly) but go directly into your login sequence.

Even if you do not have .rhosts set up correctly, use rlogin instead of telnet between Berkeley Unix machines to take advantage of better terminal handling. In this case, rlogin will prompt you for a password.

rlogin automatically propagates the terminal type to the remote system, so you never have to set term, as you sometimes need to do with telnet.

If you are using a graphics terminal, you can continue to use it as a graphics device for the remote system. rlogin does not emulate any specific type of terminal, but rather passes information directly from the remote system to your terminal.

You can "suspend" your remote login session just like any other program! Instead of plain CTRL-Z, however, which means to suspend whatever program you are running on the remote machine, type:

    ~CTRL-Z

that is, the tilde character ~, followed by the CTRL-Z character. Now you have "escaped" back to your local system. To resume your remote session, just give the normal fg command. This allows you to toggle back and forth between a local and remote session from the same terminal window.

Comments or Questions?