rlogin configuration
command directory
This chapter concerns
about command rlogin. Rlogin is used to establish the session with the remote
server. Rlogin is usually used to log in the remote Unix system. Knowing the
type of the recipient’s operation system in advance, the option protocol is unnecessary.
Its registration is mainly based on the user’s mainframe IP address and its
user name for logging in to the remote server. Therefore, the biggest
difference between rlogin and TELNET is that depending on the proper setup on
the terminal server, rlogin helps the user avoid entering the code each time he
logs in.
The
command format to establish rlogin dialogue is as follows:
rlogin server-ip-addr [-l
Username]
server-ip-addr Remote server's ip address in dotted in decimal format
Username username in remote server. Max length is 30 characters.
none
global
configuration mode
User can choose one of the following two command formats to
accomplish remote login.
1. rlogin server-ip-addr
In this situation, the
application will first request username of the remote user and then try to
establish remote connection.
2. rlogin server-ip-addr
-l Username
In this case, the
application tries to establish the connection to the remote terminal directly.
During the session
with the remote server, the user can use the following special commands.
l
Ctrl-S:stop the output from remote host to Client host
l
Ctrl-Q:resume
the output from the remote host to client host
(Note:Ctrl-S and Ctrl-Q need corresponding coordination from the server)
l Use serials of “~” and “.” at line head to quit the session.
l
Use ctrl+shift+6 to quit the session.
example
Suppose the user wants
to use rlogin to remote logon to the server with IP address of 192.168.20.124,
and the user name of the user on the server is guest, the user can use either
of these two command formats to complete the remote logon.
(1)rlogin 192.168.20.124
In
this situation, rlogin will enquire the user name to logon to the remote
server. After obtaining the user name, it begins trying to set up the
connection with the remote server. The command sequence is as follows:
router#
rlogin
192.168.20.124
username:
guest
Try
to connect server .
(2)rlogin 192.168.20.124 –l guest
In this situation, rlogin will try to set up the
connection with the remote server directly.