Remember Me
once you change the permitrootlogin setting, you need to set a password for the root user. Try sudo passwd root
sudo passwd root