Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I changed the permissions on my ~ directory, and according to this question about ssh and home directory permissions I can no longer ssh into my remote server because it rejects my public key.

Is there any way to resolve this issue without having to spin up a new server?

share|improve this question
Do you have any other account on this server you can log into? – Serge Sep 29 '12 at 6:43
Whenever making changes to your home folder, it's always a good idea to try to log back in from a new terminal shell while you're still logged into the existing session. This way you can fix any problems while you're still logged in. – jmort253 Sep 29 '12 at 8:59
@jmort253 yea good idea. I had no idea at the time that changing permissions on the home directory would affect public key authentication. – user730569 Sep 29 '12 at 17:58
Ouch! If you don't have any other way to log in yourself (password-based authentication?), I would guess you're out of luck. The only other thing I can think of is getting another user to ssh in and then su from there (root, if you can). – Blacklight Shining Jan 26 '13 at 17:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.