How to start ntp and ssh on RHEL7?
Issue
- Getting following error after restarting
ssh
andntp
:
# service ntp restart
Redirecting to /bin/systemctl restart ntp.service
Failed to restart ntp.service: Unit ntp.service failed to load: No such file or directory.
# service ssh restart
Redirecting to /bin/systemctl restart ssh.service
Failed to restart ssh.service: Unit ssh.service failed to load: No such file or directory.
Environment
- Red Hat Enterprise Linux 7
- NTP
- SSH
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.