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

Check whether ssh service is installed on linux

王林
Release: 2020-05-14 10:23:00
Original
7563 people have browsed it

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
Copy after login

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
Copy after login

2. Check whether the installation is successful

ssh -V
Copy after login

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!

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