Home  >  Article  >  Operation and Maintenance  >  How to install ssh service in linux

How to install ssh service in linux

王林
王林Original
2019-11-06 11:11:108261browse

How to install ssh service in linux

Check whether the ssh service has been installed

Execute on the terminal command line

rpm -qa | grep "ssh"

Please see the figure below for the execution results. Already installed; in fact, it will be installed by default when installing the Linux operating system.

How to install ssh service in linux

How to install the ssh service:

1. Find the operating system image file, decompress it, find the ssh-related package, and upload it to the server

2. Execute the following installation command to install it

rpm -ivh rpm包名

3. If the server has a mirror mounted, you can directly use the following command to install it or

yum install ssh

Recommended tutorial:linuxtutorial

The above is the detailed content of How to install ssh service in 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