I followed this guide to set up ssh key on my digital ocean droplet, but since I made step 4 my file system went read-only. I changed
PermitRootLogin yes to
PermitRootLogin without-password and then
reload ssh; and when I logged back in, I had no writing rights anymore.
I can log in using
ssh firstname.lastname@example.org but it does not ask me for any password, and I can not modify any file.
Before doing this, I upgraded my ubuntu from 12.04 to 14.04, it asked me during the upgrade which setting did I want for
PermitRootLogin and when I looked at
/etc/ssh/sshd_config after the installation (and after adding my ssh key) it was set on
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.