Linux telnet command
Linux telnet commands for remote login.
Run the telnet command to open a terminal stage of the job, and log the remote host.
grammar
telnet [-8acdEfFKLrx][-b<主机别名>][-e<脱离字符>][-k<域名>][-l<用户名称>][-n<记录文件>][-S<服务类型>][-X<认证形态>][主机名称或IP地址<通信端口>]
Parameter Description:
- -8 Allowed to use 8-bit character data, including input and output.
- -a attempts to automatically sign in the remote system.
- -b <Host Aliases> alias specify the remote host name.
- -c Do not read the user-specific directory of .telnetrc file.
- -d start debugging mode.
- -e <departing Characters> set out characters.
- -E Filtered out of character.
- -f effect of this parameter and specify "-F" parameters the same.
- -F When using Kerberos V5 authentication, add this parameter can upload the local host authentication data to a remote host.
- -k <domain> When using Kerberos authentication, add this parameter allows the remote host using the specified field name instead of the host's domain name.
- -K Not automatically sign in to the remote host.
- -l <user name> Specifies the user login remote host name.
- -L Allows the output 8-bit character data.
- -n <log file> specified file recording information.
- -r similar rlogin command user interface.
- -S <Service type> Set telnet connection IP TOS information required.
- -x Assume that the host that supports data encryption feature, use it.
- -X <Certification Form> Close the specified certification form.
Examples
Log onto the remote host
# telnet 192.168.0.5 //登录IP为 192.168.0.5 的远程主机