systemctl
command is used on RedHat 7 linux to manage services system wide. It allows administrators to manage ssh service to start, restart, stop or enable autoload after system startup.
In install ssh service on your RHEL 7 linux run a following linux command:
# yum install openssh
By defalt SSH service or to be more precise sshd
( daemon ) is disabled. Once the opensshd package installed, you can check the status of SSHD service by using the below command:
# systemctl status sshd
sshd.service - OpenSSH server daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; disabled)
Active: inactive (dead)
To start ssh daemon (sshd) on RHEL 7 run:
systemctl start sshd
Read more