### rlogin

Use the rlogin command to log into a remote system from the device/terminal server command line. Anyone can issue the rlogin command.

#### Command Syntax

##### Syntax

Enter the rlogin command as shown below to log into a remote host:

`rlogin {hostname|host_ip_addr} [{user=user_name}|{-l user_name]} [esc=char]`

#### Command Fields

Command Field | Description
esc | Defines a different escape character than the default ~ (tilde) character. This character is used for disconnecting from the remote host.
hostname | The name of the host to which you want to log in.
host_ip_addr | The IP address of the host to which you want to log in.
user | The user name to use on the remote system. If you do not specify a name, your device/terminal server name will be used. The user name may also be specified with -l user_name for compatibility with the UNIX rlogin command.

#### Command Examples

##### Using a Host Name

In this example, the rlogin command establishes an rlogin session using a host name.

`rlogin host1`

##### Using an IP Address

In this example, the rlogin command establishes an rlogin session using an IP address.

`rlogin 192.192.150.28`