Home  >  Article  >  Operation and Maintenance  >  Check whether ssh service is installed on linux

Check whether ssh service is installed on linux

王林
王林Original
2020-05-14 10:23:007481browse

Check whether ssh service is installed on linux

Environment:

ubuntu server

Specific method:

Execute the following command to start the ssh service

sudo service ssh start

If it cannot be started successfully, the ssh service is not installed.

Installation method:

1. Execute the following command to install

sudo apt-get install openssh-server

2. Check whether the installation is successful

ssh -V

Recommended tutorial: linux tutorial

The above is the detailed content of Check whether ssh service is installed on linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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