Home > Operation and Maintenance > Linux Operation and Maintenance > How to enable ssh service in ubuntu

How to enable ssh service in ubuntu

王林
Release: 2022-12-30 11:11:42
Original
62031 people have browsed it

How to start the ssh service on Ubuntu: 1. Update the source list; 2. Install openssh-server; 3. Execute the [sudo service ssh start] command.

How to enable ssh service in ubuntu

The operating environment of this article: ubuntu 16.04, thinkpad t480 computer.

(Learning video sharing: linux video tutorial)

Specific method:

1. Update the source list

Open "Terminal Window", enter "sudo apt-get update"-->Enter-->"Enter the administrator password of the currently logged in user"-->Enter, and that's it.

2. Install openssh-server

Input in the terminal: sudo apt-get install openssh-server

3. Check whether the ssh service is started

Open the "terminal window" and enter "sudo ps -e |grep ssh"-->Press Enter-->If there is sshd, it means that the ssh service has been started. If it has not been started, enter "sudo service ssh start"--> Press Enter --> the ssh service will start.

Related recommendations: linux tutorial

The above is the detailed content of How to enable ssh service in ubuntu. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template