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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.