Archive for September 2016

Convert Ubuntu Server to authenticate with SSH key only and make user sudoer with no password

Make user Sudoer: [code] adduser ubuntu usermod -aG sudo ubuntu Edit sudoers "/etc/sudoers"password to don’t require password: %sudo ALL=(ALL) NOPASSWD: ALL [/code] Edit SSH configuration to authenticate by SSH key only: /etc/ssh/sshd_config [code] PermitEmptyPasswords yes PasswordAuthentication no [/code] “ubuntu” by DudeOmega is licensed under CC BY

Read More