-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Without changing permission of authorized_keys, ssh won't login #21
Comments
It doesn't work. First generate a key pair using ssh-keygen
You got yourself a perfectly functioning key with right permissions! (Unless you didn't follow the instructions correctly) Edit: yes the authorized_keys file should be chmod 600 |
In my case /data/ssh/shell/.ssh/authorized_keys need to have 600 and the owner needs to be shell user (when the owner was root it did not work). You can change both using total commander. |
THANK YOU!!! Can someone please put this in the Readme |
Though it is trivial, changing permission of authorized_keys is necessary to login to ssh
A sudo chmod 600 /data/ssh/root/.ssh/authorized_keys will do the trick
The text was updated successfully, but these errors were encountered: