'reload ssh' not found on terminal

March 26, 2018 3k views
Ubuntu DigitalOcean

For this documentation^, I am in the last step. When I execute the command ‘reload ssh’, my terminal says command not found

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.
Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!