Enabling the SSH login in Ubuntu 18.04 system

Brief introduction

Secure Shell (SSH) is often used a remote access technology Linux system management. Ubuntu 18.04 system in the warehouse, has a collection of fellow open source OpenSSH, we can use it to open the SSH access to the system.

specific method

First, open a terminal and enter the following command to install OpenSSH Services:

sudo apt-get install openssh-server

Second, step one in the current system to increase the SSH service, if you need to modify the settings of the SSH service, you can edit its configuration file with word processing tools, is located in "/ etc / ssh / sshd_config", such as using vim modify commandment is:

sudo vim /etc/ssh/sshd_config

Third, after the installation, see the SSH has not run; if not running, you can use the command to start the server, for example:

sudo service ssh status

sudo service ssh start

Fourth, after the installation is complete, you can log in to a remote system with a user on the client.

For example, you can use the software category XShell, you can use openssh-client in Linux under Windows, you can use the command to install:

sudo apt-get install openssh-client。

Guess you like

Origin www.cnblogs.com/fstimers/p/11223805.html