How to start ntp and ssh on RHEL7?

Solution Verified - Updated -

Issue

  • Getting following error after restarting ssh and ntp:
 # 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content