Execute the telnet command to start the terminal job and log on to the remote host.
Syntax
Telnet [-8 acdEfFKLrx] [-B
[-S <Service Type>] [-X <authentication form>] [host name or IP address <communication Port>]
Parameter description:
- -8: 8 characters are allowed, including input and output.
- -A tries to automatically log on to the remote system.
- -B
- -C does not read the. telnetrc file in the user's exclusive directory.
- -D start the troubleshooting mode.
- -E <ESCAPE Character> sets the escape character.
- -E: filter out the escape characters.
- -F: the effect of this parameter is the same as that of the specified "-F" parameter.
- -F when Kerberos V5 is used for authentication, you can add this parameter to upload the authentication data of the local host to the remote host.
- -K <domain name> adds this parameter when Kerberos authentication is used, so that the remote host uses the specified domain name instead of the domain name of the host.
- -K does not automatically log on to the remote host.
- -L <user name> specifies the name of the user to log on to the remote host.
- -L 8 characters can be output.
- -N <Record File> specifies the file record information.
- -R uses a user interface similar to the rlogin command.
- -S <Service Type> sets the IP address TOS required for the telnet connection.
- -X: if the host supports data encryption, use it.
- -X <authentication form> disables the specified authentication form.
Instance
Log on to the remote host
# Telnet 192.168.0.5
// Log on to the remote host whose IP address is 192.168.0.5