Linux rlogin command
The Linux rlogin command is used to log in remotely.
Running the rlogin command starts a terminal session and logs in to the remote host.
Syntax
rlogin [-8EL][-e <脱离字符>][-l <用户名称>][主机名称或IP地址]
Required Parameters:
- -E Ignore the escape character
- -8 Recognize only 8-bit characters
- -L Allow the rlogin session to run in litout mode
- -ec Set the escape character to c
- -c Ask for confirmation before disconnecting
- -a Force the remote host to ask for a password after sending an empty local username
- -f Send a local authentication to the remote host
- -F Send a forwardable local authentication to the remote host
- -7 Force 7-bit transmission
- -d Enable debugging on the TCP socket used for communication with the remote host
- -k Require tickets for the remote host to be included
- -x Enable DES encryption for data transmission
- -4 Use only version 4 of Kerberos authentication
Select parameters:
Example
Check whether the rlogin service is enabled
# chkconfig --list //检测rlogin服务是否开启
Enable the rlogin service
# chkconfig rlogin on //开启rlogin服务
Log in to the remote host
# rlogin 192.168.1.88
Password:
Password:
Login incorrect
Login:root
Passwd:
Login incorrect
Login:kk
Passwd:
Log in to the remote host with a specified username
# rlogin 192.168.1.88 -l hnlinux
Passord:
Last login:Mon May 28 15:30:25 from 192.168.1.88
#
Linux Command Reference