I have a remote ubuntu computer that I connect to via SSH. The remote computer has only one user. I accidentally changed the user's home folder permissions (to 555, I believe) and because of that I can no longer ssh in. Is there a way to fix the permissions remotely?
1 Answer
It's possible you may be able to run commands over ssh even though you cannot start a login shell over ssh.
This may work
ssh remotecomputer chmod 775 .