In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about how to use the telnet command in Linux. Many people may not know much about it. In order to make you understand better, the editor has summarized the following for you. I hope you can get something according to this article.
Telnet
1. Action
Telnet means to start the terminal phase operation and log in to the remote host. Telnet is not only a Linux command, but also a protocol (remote login protocol).
two。 Format
Telnet [- 8acdEfFKLrx] [- b] [- e] [- k] [- l] [- n] [- S] [- X] [host name IP address]
3. Main parameters
-8: allows the use of 8-bit character data, including input and output.
-a: try to log in to the remote system automatically.
-b: specify the remote host name using an alias.
-c: do not read .telnetrc files in the user-specific directory.
-d: start debug mode.
-e: sets the detach character.
-E: filter out detached characters.
-f: this parameter has the same effect as specifying the "- F" parameter.
-F: when using Kerberos V5 authentication, add this parameter to upload the authentication data of the local host to the remote host.
-k: 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: specifies the user name to log in to the remote host.
-L: allows you to output 8-bit character data.
-n: specifies the file record related information.
-r: use a user interface similar to rlogin instructions.
-S: service type, which sets the IP TOS information required for telnet connection.
-x: assume that the host has a feature that supports data encryption, use it.
-X: closes the specified authentication form.
4. Application description
Users can log in remotely and communicate between remote computers using the telnet command. A user logs in on a remote computer over the network as if he were logged in to the local computer to execute a command. In order to log in to a remote computer through telnet, you must know the legal user name and password on the remote machine. Although some systems do provide login functions for remote users, for the sake of security, the operation rights of guests are limited, so there are few functions that can be used in this case. Telnet only provides terminal emulation for ordinary terminals, but does not support graphical environments such as X-Window. When allowing remote users to log in, the system usually places these users in a restricted Shell to prevent the system from being compromised by malicious or careless users. Users can also use telnet to log in to their computers from remote sites, check emails, edit files, and run programs as if they were logging in locally.
Ftp
1. Action
The ftp command makes a remote file transfer. FTP is the standard file transfer protocol of ARPANet, and this network is the predecessor of Internet today, so ftp is both a protocol and a command.
two。 Format
Ftp [- dignv] [host name IP address]
3. Main parameters
-d: shows the execution process of the instruction in detail, which is convenient for debugging and analyzing the execution of the program.
-I: turn off the interactive mode without asking any questions.
-g: turn off the extension of the local host file name to support special characters.
-n: do not use automatic login.
-v: displays the execution process of the instruction.
4. Application description
Ftp
Command is the user interface of the standard file transfer protocol. It is a simple and effective way to transfer files between TCP/IP network computers. It allows users to transfer ASC Ⅱ files and binary files. In order to use ftp to transfer files, the user must know the legal user name and password on the remote computer. This username / password combination is used to confirm the ftp session and to determine how the user accesses the file to be transferred. In addition, the user needs to know the IP address of the name of the computer to which the ftp session takes place. Users can connect to another computer by using the ftp client program; they can move up and down the directory and list the contents of the directory; they can copy files from the remote computer to the local computer; and they can transfer the files from the local computer to the remote system. There are 72 internal commands in ftp, and the main internal commands are listed below:
Ls: lists the current directory of remote machines.
Cd: change the working directory on the remote machine.
Lcd: change the working directory on the local machine.
Close: terminates the current ftp session.
Hash: a # sign is displayed each time the data in the data buffer is transferred.
Get (mget): transfers the specified file from the remote machine to the local machine.
Put (mput): transfers the specified file from the local machine to the remote machine.
Quit: disconnect from the remote computer and exit ftp
After reading the above, do you have any further understanding of how to use the telnet command in Linux? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.