Amazon EC2 Sign In

Posted by Barry on Server Fault See other posts from Server Fault or by Barry
Published on 2011-06-23T14:40:09Z Indexed on 2011/06/23 16:24 UTC
Read the original article Hit count: 208

Filed under:

When I change the home directory of my Amazon EC2 instance from /home/ubuntu to /home/ubuntu/folder in the /etc/passwd file, I am no longer able to access the instance using my existing keypair. Once I switch it back to the original directory I have no problems and can log into my instance as normal. I have checked the permissions on the new folder and they are drwxr-xr-x, which is the same the /home/ubuntu folder. I have a number of instances running at the minute and because of this change I have no way of logging back into them to rectify the situation. Does anyone have an idea what is going on?

Thanks in advance

© Server Fault or respective owner

Related posts about amazon-ec2