Ask Your Question

Revision history [back]

Can ping the VM but can't ssh into the VM

I downloaded the fedora 20 image from here.

I followed the instruction given on the RDO's site. After launching it, I see the prompt for username and password. I can ping to the VM but can't SSH to it. For SSH I generated I downloaded the pem prompted at the dashboard and copied it to ~/.ssh/. I tried

ssh -i ~/.ssh/id_key.pem floating_ip_of_machine

but it failed to login.

I even tried the following code at the customization script, it was taken from some blog.


#cloud-config
hostname: node
password: secret
chpasswd: { expire: False }
ssh_pwauth: True
 

But I still couldn't log in with the above credentials at the VM. What could be the issue/solution for this?

If you have any link to cloud images of the following distros, ie, CentOS, Fedora, Ubuntu with known login credentials that could be helpful but it would be interesting to learn why this is going wrong.

Can ping the VM but can't ssh into the VM

I downloaded the fedora 20 image from here.

I followed the instruction given on the RDO's site. After launching it, I see the prompt for username and password. I can ping to the VM but can't SSH to it. For SSH I generated I downloaded the pem prompted at the dashboard and copied it to ~/.ssh/. I tried

ssh -i ~/.ssh/id_key.pem floating_ip_of_machine

but it failed to login.

I even tried the following code at the customization script, it was taken from some blog.


#cloud-config
hostname: node
password: secret
chpasswd: { expire: False }
ssh_pwauth: True
 

But I still couldn't log in with the above credentials at the VM. What could be the issue/solution for this?

If you have any link to cloud images of the following distros, ie, CentOS, Fedora, Ubuntu with known login credentials that could be helpful but it would be interesting to learn why this is going wrong.