27.09.2017 - You also need to edit /etc/ssh/sshd_config , and comment out the 16.04.1 LTS (GNU/Linux 4.4.0-59-generic x86_64) PermitRootLogin .