Home  >  Article  >  Operation and Maintenance  >  How to connect to linux remotely

How to connect to linux remotely

(*-*)浩
(*-*)浩Original
2019-11-06 10:29:165188browse

Linux is mostly used in servers, and servers cannot be placed in offices like PCs. They are placed in IDC computer rooms, so I usually log in to the Linux system through remote login.

How to connect to linux remotely

In the Linux system, the remote login function is implemented through the ssh service. By default, the ssh service opens port 22, and when we install the system, this service is already installed and started at boot. So we can directly log in to the Linux system remotely without any additional configuration. (Recommended learning: linux operation and maintenance)

The configuration file of the ssh service is /etc/ssh/sshd_config. You can modify this configuration file to achieve the ssh service you want. . For example, you can change the startup port to 36000.

If you are running a Windows operating system, Linux remote login requires an additional terminal software to be installed on our machine. Currently, the more common terminal login software includes SecureCRT, Putty, SSH Secure Shell, etc. Many friends like to use SecureCRT because of its powerful functions, while the author likes to use Putty just because of its compact size and very beautiful color display. No matter which client software you use, there is only one ultimate goal, which is to log in to the Linux server remotely. There are many free versions of these software online. You can download one and try it out. The author below introduces how to use Putty to log in to a remote Linux server.

If you downloaded putty, please double-click putty.exe and the following window will pop up. The putty used by the author is the English version. If you feel that the English version is awkward, you can download the Chinese version.

How to connect to linux remotelyBecause it is a remote login, the server you want to log in to must have an IP or host name. Please enter the IP address of the remote server you want to log into in the box below Host Name (or IP address) (if your Linux does not have an IP yet, please set an IP yourself. Please find out how to set it up in the subsequent chapters), and then press Enter.

How to connect to linux remotelyAt this time, we are prompted to enter the user name to log in.

How to connect to linux remotelyEnter root and press Enter, then enter the password to log in to the remote Linux system.

The above is the detailed content of How to connect to linux remotely. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn