04-08-2020, 11:40 AM
(04-08-2020, 10:42 AM)Enig123 Wrote:(04-07-2020, 11:34 PM)aaditya Wrote: root login via password could be disabled for ssh. Can try from following options:
* Creating another account
* Using a key pair for root
* Editing /etc/ssh/sshd_config to enable root login via password
What kind of hardware do I need to do that? I don't have any input/output device attached to the Rock64 for now.
Probably the same hardware you used to create your microsd in the first place. For example, insert the microsd in a laptop, mount it, then edit /etc/ssh/sshd_config adding the line:
PermitRootLogin yes
This should permit root login, but you should probably add a user account once you've ssh'd in, then delete PermitRootLogin from /etc/ssh/ssd_config. In the future you would ssh in with the user account and use su or sudo instead of logging in directly as root. Safer that way.
All this is from arm.slackware.com, btw. A good resource.