You are viewing a single comment's thread from:

RE: How to properly setup SSH Key Authentication - If you are logging into your server with root, you are doing it wrong!

in #sysadmin6 years ago

This assumes sudo is the group that gives sudo access. This isn't the case on every linux distribution. Some use wheel or admin

To ensure use of sudo group do the following after step 2 Update Packages

  1. visudo
  2. Add %sudo ALL=(ALL:ALL) ALL
Sort:  

These steps are what I do with every server I own or work with. All my servers are Debian based (mostly all Ubuntu at this point) so these commands will be for Ubuntu.

That's not necessary, I was pointing information that would be useful for users of other distributions.