Ask Your Question

Error during live migration :Exit 255 host permanentaly(EDSCA) added to lost of known host

asked 2015-03-10 00:44:56 -0500

Queen gravatar image

i haved removed all .ssh/known_hosts file including var/lib/nova/.ssh/known_hosts.Unable to solve still .I tried command: "ssh-keygen -R hostname".but it give a message :"Known_host : no sucj directory is present".how to solve this problem??

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-09-04 03:19:36 -0500

updated 2015-09-04 03:20:53 -0500

I had the same error and resolved executing the following steps:

generate the public private keys

ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa

copy the public key to every host you will connect TO:

scp ~/.ssh/ my_user_id@

(this should prompt you for a password)

shell into the remote machine

ssh my_user_id@

authorize the key by adding it to the list of authorized keys

cat ~/.ssh/ >> ~/.ssh/authorized_keys

log out of the current shell


test that you can log in with no password

ssh -i ~/.ssh/id_dsa

if this prompts for a password ensure the remote user is the owner of the pub key ((source))

This is from compute1 to compute2 nodes and from controller to compute2 node. Also, I had to allow nova user permissions to write:

If you want to change the user owning this file or directory (folder), you will have to use the command chown. For instance, if you run

`sudo chown username: myfolder`

the user owning myfolder will be username. Then you can execute

`sudo chmod u+w myfolder`

to add the write permission to the username user.

But if you want to add this user to the group associated with "myfolder", you can run

`sudo usermod -a -G groupname username`

and then execute

`sudo chmod g+w myfolder`

to add the write permission to the group. ((source))

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-03-10 00:44:56 -0500

Seen: 789 times

Last updated: Sep 04 '15