dewv / ops

Tracking of operational tasks in DevOps production environment
2 stars 0 forks source link

Consider disabling root ssh #69

Open smattingly opened 4 years ago

smattingly commented 4 years ago

The Ubuntu Server image provided by our hosting company has ssh for root enabled. Check to see if "pure" installations of Ubuntu Server 18.04 still disable root ssh as past versions did.

If so, create an alternative account that can assume root privileges and disable root ssh login. If not, see if there are suggested practices for the new approach.

finkrobertb commented 4 years ago

We confirmed that Ubuntu Server 18.04 does disable root ssh by default.

finkrobertb commented 4 years ago

The following link has more information for creating a new user and disabling root ssh logins.

https://www.a2hosting.com/kb/getting-started-guide/accessing-your-account/disabling-ssh-logins-for-root