Remote Linux server management experience

Source: Internet
Author: User
Article title: Experiences in remote Linux server management. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Remote Management linux green soft Download: http://bbs.chinaitlab.com/thread-301585-1-1.html

Network manager a received a notice from the superior and went on a business trip far away. After several days of enjoying the beautiful local scenery and preparing to leave, I suddenly remembered the purpose of this visit. as a result, he started working overtime. When the task is about to be completed, an important file is missing. But it doesn't matter. when it comes, network administrator A has copied this important file from his Linux system to the USB flash drive, O (∩ _ ∩) O, but next, what happened to the bloody thing happened: "What about the USB flash drive my USB flash drive ?......... ". Network Administrator A fainted to the ground

Network Management B is a network management service that manages Enterprise Servers (how can it be so awkward?). all servers in an enterprise are centrally managed in a data center, does the network administrator have to go to the machine room to view the Linux Proxy server logs every day? However, the server room should not allow people to go in and out at will. in case of any fault, the server room cannot afford it. Besides, the server generally does not contain a monitor. does it know the binary content transmitted when he finds the network cable inserted on the server? Superman!

So how can we solve the above two problems? Linux has been taken into consideration during the design. when we install linux, the system itself has a remote management service OpenSSH. OpenSSH implements a remote login function similar to the telnet service. However, SSH transmits data over the network in the form of ciphertext, so it can achieve a higher security level and is a security alternative to the telnet service. OpenSSH has been carried during system installation. you can run the rpm-qa | grep ssh command to check whether the OpenSSH service is installed in the current system. If your system is more personalized and you have not installed the OpenSSH service, you can insert the first disc and install all software packages starting with OpenSSH.

At this point, someone replied, "the above is all nonsense. our system has installed the so-called security management service by default. how can we use it ....... ", haha, you can't wait to know how to remotely manage Linux. Since our clients generally use the windwos operating system, the key to the problem is how to remotely control the Linux server on windwos. We need to use the putty software (provided in the attachment in this article, please download and use it). This is a small green software that can be used to remotely manage Linux servers in the windwos environment through the SSH service.

First, open the software and enter the IP address of the Linux server in the HosatName box. This article takes 192.168.0.10 as an example. Then select "SSH" in the Protocol. we can see that Port 22 is changed because SSH uses Port 22 by default. Click "Open" to log on to the remote server.

Enter "Y" to enter the Linux logon interface, enter the correct user name and password, and enter the remote server. At this time, you can perform any operation. Is it the same as that on the local machine? (Prerequisite: the server must use the service iptables stop command to disable the firewall or open port 22 of the firewall. Otherwise, the server cannot be connected to the server)

At this point, you must have questions about how to download files on the server or upload files to the server? Now we have to use another small green software WinSCP3. (Provided in the attachment)

Open the main interface of the software, enter the IP address of the Linux server in Host name, and enter 22 in port (do not explain why port 22 is entered) enter the username and password of the remote linux server in User name, and select SFTP (allow SCP fallback) in Protocol ). Click "Login" to log on to the remote server.

Enter "Y" and log on to the remote server. is the management interface familiar? That's right. it is roughly the same as the FTP interface, with the local disk and files on the left and the server directory and files on the right.

If you want to upload a file to the root directory of the remote server, you can drag the file to the root directory of the server and select the Copy button in the pop-up window. the file is uploaded successfully. The steps for downloading files from the server are the same, but the files from the server are hosted on the local disk.

OK. We have completed remote management of the server and uploaded and downloaded server files.

[1] [2] [3] [4] Next page

Related Article

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.