-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
Besides the permissions of authorized_keys, in my device it was also needed to change the permissions of the parent directories as well as their ownership for the ssh login to work.
More Specifically .ssh and root or shell (depending on which you are going to use).
So we got:
chmod 600 /data/ssh/root/.ssh/authorized_keys
chmod 600 /data/ssh/shell/.ssh/authorized_keys
chown root /data/ssh/root/.ssh/authorized_keys
chown shell /data/ssh/shell/.ssh/authorized_keys
chmod 700 /data/ssh/root/.ssh
chmod 700 /data/ssh/shell/.ssh
chown root /data/ssh/root/.ssh
chown shell /data/ssh/shell/.ssh
chmod 700 /data/ssh/root
chmod 700 /data/ssh/shell
chown root /data/ssh/root
chown shell /data/ssh/shell
Pro-me3us
Metadata
Metadata
Assignees
Labels
No labels