Connect to remote server via SSH protocol (Linux)

There are many software that can connect to remote servers, such as MobaXterm, Xshell, PuTTY, SecureCRT, etc.

The following is the procedure for connecting to a Linux system through the SSH protocol on a Windows system:

  1. Open the terminal on the Linux system and enter ifconfigthe command to view the host name; if the command cannot be executed, you can enter sudo apt updateand in sequence sudo apt install net-toolsto install the relevant packages, and enter again ifconfigto view the host name.
  2. Enter in the Linux terminal service sshd statusto check the SSH service status. If the service cannot be found, enter sudo apt install openssh-serverto install it. After installation, check the SSH service status again.
  3. service sshd startStart the SSH service by typing in the Linux terminal
  4. Enter the Linux host name and user name (you may also need to enter a password) on the remote service software to connect to the Linux system

Guess you like

Origin blog.csdn.net/weixin_48158964/article/details/132477561