so i did the above steps and i did all this using the debian user in the BeagleBone Black. I have a windows 10 OS and am using Putty to connect via ssh.
I changed the #PermitRootLogin prohibit-password to PermitRootLogin yes (didn’t add # behind permit).
but still am unable to login as root user