Home > Article > Operation and Maintenance > How to enable ssh service in ubuntu
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.
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!