Why can't I ssh as root

At Linux Academy, we try to follow best practices as much as possible. By default, you will not be able to use SSH into any of your cloud servers as the `root` user. This is done for several reasons:

  1. Best practices - The `root` user is a special user. As such, the best practice is to connect as your normal user and switch to `root` after. This preserves an audit trail for anything done to the system.
  2. Security - The `root` account for our cloud server environment has an easily guessed default password. Given that our cloud servers are publicly available, we are trying to offer security without getting in the way of our student's learning experience.

Once you log in and change the `root` user's password, you can decide whether you want to connect directly and make the appropriate configuration change to your SSH setup.

Please see our Introduction to the Linux Academy course for detailed instruction on connecting to the cloud servers.