English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Linux telnet command

Linux Command大全

The Linux telnet command is used for remote login.

Execute the telnet command to start the terminal machine operation and log in to the remote host.

Syntax

telnet [-8acdEfFKLrx][-b<host alias>][-e<deletion character>][-k<Domain Name>][-l<Username>][-n<Log File>][-S<Service Type>][-X<Authentication Type>][Host Name or IP Address<Communication Port>]

Parameter Description:

  • -8 Allow usage8Bit character information, including input and output.
  • -a Try to automatically log in to the remote system.
  • -b<Host Alias> Use the alias to specify the remote host name.
  • -c Do not read the .telnetrc file in the user's private directory.
  • -d Start debugging mode.
  • -e<Escape Character> Set the escape character.
  • -E Filter out escape characters.
  • -f The effect of this parameter is the same as specifying "-F"Parameters are the same.
  • -F Use Kerberos V5Add this parameter during authentication to upload the local host's authentication data to the remote host.
  • -k<Domain Name> When using Kerberos authentication, add this parameter to make the remote host use the specified domain name instead of the host's domain name.
  • -K Do not automatically log in to the remote host.
  • -l<Username> Specify the username to log in to the remote host.
  • -L Allow output8Bit character information.
  • -n<Log File> Specify the file to record relevant information.
  • -r Use a user interface similar to rlogin.
  • -S<Service Type> Set the IP TOS information required for the telnet connection.
  • -x Assume that the host has the function of supporting data encryption, and use it.
  • -X<Authentication Type> Close the specified authentication type.

Online Examples

Login to a remote host

# telnet 192.168.0.5 
//Login IP is 192.168.0.5 of the remote host

Linux Command大全