Linux (4) Remote login using Xshell5

Installation packages for Xshell5 and Xftp5

Link: https://pan.baidu.com/s/1q3-ch75TW3lvC3KX25klNQ Password: m31n

illustrate:

When the company develops, the specific situation is as follows:

1. The linux server is shared by the development team;

2. The officially launched project is running on the public network;

3. Therefore, programmers need to remotely log in to centos for project management or development.

4.1 Check if centOS has ssh service

    4.1.1 Using the setup command


    4.1.2 Select System Service


        The * sign represents the service that has been started. The sshd service is specially designed for others to log in and access remotely. The service will listen on port 22.


4.2 Install Xshell5










        new connection


        enter the content


Now you need to get the ip address of centos

Obtained through the ifconfig command, the following is that there is no ip address, indicating that it is not connected to the Internet




        Enter the ifconfig command again to get the ip address 192.168.249.128


        Enter the ip address into the host


        After confirming, click connect again



        Enter the username of centOS, here use root to log in


        Enter the root password


    The connection is successful, root is the user name of centos, and leeqico is the computer name of centos


In this way, the centos system can be operated remotely.

try: nothing under home



create a new file


The file is also displayed here, indicating that there is no problem with the remote operation


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326282094&siteId=291194637