SSH broken after homedir permissions and hostname change on EC2-hosted Ubuntu
- by dimadima
I changed my instance's hostname using the hostname utility and then set it in /etc/hostname so that the new name survives reboot.
My main motivation was for differentiating between instances at the prompt using the \h
format in PS1.
EDIT
I also changed permissions on my home directory. I made my home directory group writeable.
Now I can no…