QuestionQ70

VerifiedSystem Administration Fundamentals

A system administrator needs to check the status of the ssh service, make sure it starts at boot, and immediately restart it. Which sequence of systemctl commands accomplishes this?

Explanation

systemctl status ssh displays the service’s current state, systemctl enable ssh configures it to start automatically at boot, and systemctl restart ssh stops and starts the service immediately.

Community Discussion

No comments yet. Be the first to start the discussion!