Ubuntu18.04 open ssh

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.

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

sudo apt-get install openssh-server

Two, one step is to increase the role of the SSH service in the current system, you can use the next command: sudo service ssh statuscheck the status of the 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 nano /etc/ssh/sshd_config

Third, after the initial installation, in fact, SSH and does not run automatically, you can use the command to start the server, for example:

sudo service ssh restart

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 Putty, you can use openssh-client in Linux under Windows, you can use the command to install:

sudo apt-get install openssh-client。
Released four original articles · won praise 0 · Views 31

Guess you like

Origin blog.csdn.net/m0_46492988/article/details/104800157