Follow

Why can't I ssh as root

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

  1. Best practices - the 'root' user is a special user. As such, 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.

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.