Two Methods for running the Telnet program (1)

Source: Internet
Author: User

Remote connection, this Internet operation has brought me a lot of convenient conditions and a lot of complicated work. At present, we have gradually reduced the use of Telnet programs, but we cannot deny it, it is indeed a very useful protocol. Now we will introduce this protocol. We will discuss two main methods for using remote computers. first, you can register on any Internet host to obtain your account header. for a Unix computer, you must have a user ID and password. once registered, you can use the host normally. second, many Internet computers provide a public Telnet service. this system is valid for any user and generally does not require a password. you will find that Telnet will make you forget the distance between yourself and the remote host. All you can feel is that when the Internet is used frequently, the computer's response speed is slightly slow. of course, skilled users can easily access several different Internet hosts in turn.

Telnet Overview

Telnet provides a large number of services based on the standard protocol. the service that connects you to a remote Internet host is called "Telnet ". to use the telnet service, you must run a special telnet program on your computer. this program connects to your specified computer through the Internet. once the connection is successful, telnet works as an intermediary between you and another computer. everything you input on the keyboard will be transmitted to another computer, And everything displayed on the other computer will be sent to your computer and displayed on the screen. as a result, your keyboard and screen seem to be directly connected to a remote computer.

In Telnet terminology, your computer is called a "Local Computer" Local Machine), and the telnet program is connected to another computer called a "remote computer" remote machine ). these terms are used no matter how far the other computer is, whether in the same office or across the world ., internet computers are often called "hosts ". therefore, using Telnet, we can say that the function of the telnet program is to connect your local machine to a remote Internet host.

In addition, we usually use telnet as a verb. For example, if you are visiting a friend's house outside China, you can say to him, "Can I use your computer? I want to telnet my computer to see if there is any email ."

The first method to run the telnet program

For remote connection, you should use the telnet program. There are two methods to run the program. Here we will first describe one of the most commonly used methods. The next part will introduce another method.

Run the telnet program. First, enter the command name and the address of the remote machine you want to connect. for example, if you want to connect to a computer named fuzzball, its full address is fuzzball. ucsb. edu, input:

Telnet fuzzball.ucsb.edu

If you are connected to a computer on the local network, you can enter only the machine name instead of the full address. For example, telnet fuzzball

All Internet hosts have a formal IP address, which consists of a string of numbers separated by periods. For example, the IP address of a computer whose standard address is ucsd.edu is 128.54.16.1.

Some systems may have difficulties in processing some standard addresses. if you encounter such problems when using the telnet program, you can try it with an IP address. for example, the following two commands can achieve the same purpose, that is, they can be connected to the same host.

Telnet ucsd.edu

Telnet 128.54.16.1

After running the telnet program, it will start to connect to the specified remote machine. When telnet is waiting for a response, the screen will show:

Trying...

Or similar information.

Once the connection is determined, if the host is too distant, it may wait for a while.) You will read this message: Connected to fuzzball.ucsb.edu

Escape character is '^]'

We will explain this instruction in the next "coder)

For example, if you want to connect to the remote server, but you enter the following information incorrectly:

Telnet nippet.com

You will see:

Nippet.com: unknown hosttelnet>

In this case, you can specify another host name or stop the program.

Many factors may cause telnet to be unable to connect remotely. The three most common factors are misspelling of computer addresses.

Remote computers are temporarily unavailable.

The computer you specified is not on the Internet.

In addition, some problems may occur: for some reason, your local network may not be connected to some parts of the Internet. one reason is that some hosts are isolated for confidentiality. another reason is that some hosts cannot be connected to other hosts at all.

For example, a friend from Ireland complained that he could not connect to a computer in Australia. In this case, telnet would display information similar to the following:

Host is unreachable

In this case, check whether the telnet command or address is entered correctly. You can also ask the system administrator to check whether the connection has some skills you do not know. of course, if your location cannot be connected to a remote machine, you have to acknowledge the reality. we had to say to the friend in Ireland: Many people have never been connected to Australian computers, but they still live a full and pleasant life .)

Once the telnet connection is confirmed, you can talk to the remote machine. at this time, many hosts will display some information, which is usually used to confirm the computer. once the logon is accepted, you will see a standard prompt. for example, if you have been connected to a Unix remote machine, you will see:

Login:

Now you can log on in a regular way. Enter your user ID and press Enter. You will see:

Password:

Enter your password and press Enter. Note: The password you enter will not be displayed on the screen to prevent others from stealing your use right ).

We have pointed out that some remote machines can provide a public service, in which case you do not need to use a secret password when logging on. for example, we will discuss an Internet resource called Archie server. when you connect to the Archie server, an archie user ID is used. Once this user ID is entered, the Archie program runs automatically. some public hosts are even more convenient. as long as you use the telnet command to connect, the remote program will be automatically executed, and you do not even need to enter the user ID and password.

After the remote machine is finished, you only need to "exit" in the conventional mode. In this case, the connection is disconnected and telnet automatically stops running.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.