1) We have left the SSH server listening on TCP port 22. You can check this with...
Question:
1) We have left the SSH server listening on TCP port 22. You can check this with ss -nat (unless the last thing you did was to stop it. If ssh is enabled, it will start at the next boot.) It is a bad idea to leave services running that you don't need, especially if they listen to the network. Execute the command you use to prevent ssh from starting on boot; paste the command and results as your answer.
2) If you wanted to prevent the SSH server from ever running (it doesn't start on boot, and you can't start it with systemctl start ssh), what systemd command would you use to prevent it from running? (Note: this requires you to read the Linux systemd slides or use some Google Fu, as we have not covered it in this lab.)
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill