No awards yet.


1 Posts
  • Published Question

    can't login unless root

    I made a droplet with ssh keys selected, logged in as root perfectly fine, did "adduser demo" and "gpasswd -a demo sudo". When i try to ssh in as i get a "Permission denied (publickey)." but when i tr...
    Accepted Answer: Hi @CrustyWang69 You need to edit the file /etc/ssh/sshd_config and edit/add this line: PasswordAuthentication yes And restart sshd with the command sudo service ssh restart
    1 By CrustyWang69 Getting Started Quickstart Security FAQ Deployment Ubuntu 16.04