I'm a newbie and recently dusted off my BBB and updated to Debian 9. I followed the steps you listed for but instead instead of "PermitRootLogin without-password" it showed "PermitRootLogin prohibit-password", so I changed it to "PermitRootLogin yes". Now, when I try to SSH in and login as root, I tried using "root" as the password and got access denied. Any ideas?
On Monday, June 12, 2017 at 6:26:33 PM UTC+7, cesar.te...@gmail.com wrote: > > Hello all ! > For those who are stuck in root login on Debian I've passed the last hours > figuring out how to do it, and to help you guys which have the same problem > here comes a quick guide: > > PROBLEM: Be unable to access root on Debian 8 > > SOLUTION: > > Login as: debian > Password: temppwd > > Give the command: > > sudo passwd root > Type a password for SUDO > > Give the command: > > su root > > Type a password for root > > Open SSH file to enable root login: > > vim /etc/ssh/sshd_config > > Change the line: > From: > PermitRootLogin wihtout-password > To: > PermitRootLogin Yes > > Once you made the change,restart the SSH server > /etc/init.d/ssh restart > > From now on you will be able to ssh login as a root > > Any question you reach me up ! > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/3331fde5-7860-44c6-8501-969722b31f56%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.