next up previous contents
Next: File Transfer Program (ftp) Up: Network Commands Previous: TALK

Remote login

Once you have logged in to the system, you can log in to other machines on the network or on other networks with the telnet and rlogin commands.

telnet

The format for the telnet command is:

telnet <hostname>

After connecting with the remote host, you will be prompted for your login id and your password just as if you were logging on via a terminal on that system.

rlogin

The command rlogin has the advantage over telnet in that you can specify a username on the command line, and can set it up so that when you rlogin to a host you will not be prompted for a password. Rlogin assumes you wish to login to an account with the same name as the account you are presently logged in as. If you wish to change this, use the -l option.

To have a remote system not ask for your password, edit your  .rhosts file and put a line similar to the following in:

remotehostname userid

Where remotehostname is the name of the system you will be rlogin from, and userid is the name of the account you will be on.

The format for the rlogin command is:

rlogin <hostname>

To temporarily suspend the connection to the remote host is done by entering the sequence:

\( \sim <ctrl-z\gt \)

This returns you to the local host. To bring the remote host's job back into the foreground, use the fg command as described earlier.


next up previous contents
Next: File Transfer Program (ftp) Up: Network Commands Previous: TALK
World Wide Web Administrator
1/5/1999