Comment 1 for bug 1736795

Revision history for this message
Ryan Beisner (1chb1n) wrote :

Following along this guide:
https://jujucharms.com/openstack-base/50

I received the following error when trying to ssh into my test guest:
```
$ ssh -i ~/.ssh/id_rsa_cloud ubuntu@10.228.68.21
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/home/ubuntu/.ssh/id_rsa_cloud' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "/home/ubuntu/.ssh/id_rsa_cloud": bad permissions
Permission denied (publickey).
```
Perhaps the "nova keypair-add" command should be proceeded with:
```
$ mkdir -p ~/.ssh
$ touch ~/.ssh/id_rsa_cloud
$ chmod 600 ~/.ssh/id_rsa_cloud
```
(or some sort of umaskery)