'reload ssh' not found on terminal

Posted March 26, 2018 8.4k views
For this documentation^, I am in the last step. When I execute the command ‘reload ssh’, my terminal says command not found

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

This tutorial is meant for Ubuntu 12.04 and is very outdated. Newer versions of Ubuntu use different init systems. If you’re on Ubuntu 16.04 or newer, use the command sudo systemctl restart ssh. Follow these links for up-to-date tutorials:

by Mitchell Anicas
This tutorial explains the first steps you need to take after creating your CentOS 7 server, including how to login with root, change the root password, create a new user, give the new user root privileges, change the SSH port, and how to disable root login in.