Logs in to a remote device using the telnet protocol on the Trellix appliance.
Syntax
telnet [-8] [-E] [-L] [-S <tos>] [-a] [-b hostalias] [-c] [-d] [-e char] [-l login_name] [-n tracefile] [-r ] [<host-name> [<port>]]
Parameters
-8
Specifies an 8-bit data path, and attempts to negotiate the TELNET BINARY option on both input and output.
-E
Disables the use of an escape character.
-L
Specifies an 8-bit data path on output, and attempts to negotiate the BINARY option on output.
-S <tos>
Specifies the Type of Service value (0 to 15) in the telnet packet header.
-a
Attempts automatic login.
-b <hostalias>
Binds the local socket to an aliased address or to the address of an interface other than the one used by default. Allows you to connect to services that use IP addresses for authentication.
-c
Disables the reading of the user’s .telnetrc file.
-d
Sets the debug flag to TRUE.
-e <char>
Sets the initial escape character, which may be a two-character sequence starting with '^'. If the second character is '?', the DEL character is selected. Otherwise, the second character is converted to a control character and used as the escape character. If the escape character is omitted, it is disabled.
-l <login_name>
Login username on the remote machine. This option implies the -a option. This option may also be used with the telnet open command.
-n <tracefile>
Records trace information in the specified file.
-r
Specifies a user interface similar to rlogin. In this mode, the escape character is the tilde (~), unless modified by the -e option.
<host-name> [<port>]
Remote device name or IP address. If the port number is omitted, the default port is 23.
Example
The following example uses telnet to log in to a remote device on port 23.
hostname # telnet 192.168.0.69
The following example has the same effect, but uses the telnet “open” command to log in.
hostname # telnet telnet > open 192.168.0.69
To close a telnet session, type closequit.