How To Install openssh-server-sysvinit on CentOS 7

In this tutorial we learn how to install openssh-server-sysvinit on CentOS 7. openssh-server-sysvinit is The SysV initscript to manage the OpenSSH server.

Introduction

In this tutorial we learn how to install openssh-server-sysvinit on CentOS 7.

What is openssh-server-sysvinit

OpenSSH is a free version of SSH (Secure SHell), a program for logging into and executing commands on a remote machine. This package contains the SysV init script to manage the OpenSSH server when running a legacy SysV-compatible init system. It is not required when the init system used is systemd.

We can use yum or dnf to install openssh-server-sysvinit on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install openssh-server-sysvinit.

Install openssh-server-sysvinit on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install openssh-server-sysvinit using yum by running the following command:

sudo yum -y install openssh-server-sysvinit

Install openssh-server-sysvinit on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install openssh-server-sysvinit using dnf by running the following command:

sudo dnf -y install openssh-server-sysvinit

How To Uninstall openssh-server-sysvinit on CentOS 7

To uninstall only the openssh-server-sysvinit package we can use the following command:

sudo dnf remove openssh-server-sysvinit

References

Summary

In this tutorial we learn how to install openssh-server-sysvinit on CentOS 7 using yum and dnf.