LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 07-01-2011, 11:25 AM   #1
trs90
LQ Newbie
 
Registered: Jul 2011
Posts: 1

Rep: Reputation: Disabled
Error verifying host key when using scp command


Hi,
I've got a problem atm with OpenNebula on Ubuntu 10.04
I'll try to explain the best i can as im not a Linux/Ubuntu expert:
I installed OpenNebula (front-end + 2 worker nodes) perfectly without problems. I can connect from one machine to another perfectly through SSH and it records my key.
Now the actual problem is at the last part, i create a VM using "onevm create x.template", and then when i use the "onevm deploy x" (x being the host/ip of one of the worker nodes) it doesn't let the machine use the "scp" command, and retrieves an error saying it failed and the host key verification failed.
Like i said before, i've successfully connected to the worker node through SSH before, i only get the verification key error when deploying the VM onto the worker node.

Error log:
Code:
Fri Jul  1 17:02:16 2011 [ReM][D]: VirtualMachineDeploy invoked
Fri Jul  1 17:02:16 2011 [DiM][D]: Deploying VM 21
Fri Jul  1 17:02:18 2011 [TM][D]: Message received: LOG - 21 tm_clone.sh: frontend-utilizador:/usr/imagens/ubuntu_server.img 10.0.0.98:/usr/imagens/21/images/disk.0

Fri Jul  1 17:02:18 2011 [TM][D]: Message received: LOG - 21 tm_clone.sh: DST: /usr/imagens/21/images/disk.0

Fri Jul  1 17:02:18 2011 [TM][D]: Message received: LOG - 21 tm_clone.sh: Creating directory /usr/imagens/21/images

Fri Jul  1 17:02:18 2011 [TM][D]: Message received: LOG - 21 tm_clone.sh: Executed "ssh 10.0.0.98 mkdir -p /usr/imagens/21/images".

Fri Jul  1 17:02:18 2011 [TM][D]: Message received: LOG - 21 tm_clone.sh: Cloning frontend-utilizador:/usr/imagens/ubuntu_server.img

Fri Jul  1 17:02:18 2011 [TM][D]: Message received: LOG - 21 tm_clone.sh: ERROR: Command "scp frontend-utilizador:/usr/imagens/ubuntu_server.img 10.0.0.98:/usr/imagens/21/images/disk.0" failed.

Fri Jul  1 17:02:18 2011 [TM][D]: Message received: LOG - 21 tm_clone.sh: ERROR: Host key verification failed.

Fri Jul  1 17:02:18 2011 [TM][D]: Message received: TRANSFER FAILURE 21 Host key verification failed.
Does anyone know what might be the problem? I've also tried checking the known_hosts file in the .ssh folder and adding the SSH keys manually and i still get the error. Im really desperate atm and have been trying to solve this problem for hours, literally. I've googled a lot also and read about a bug:
https://bugs.launchpad.net/ubuntu/+s...la/+bug/331838
But it's date 2009 and surely that would of been fixed by now no?

I hope someone can help me on this issue, as im working on this for a school project & presentation.

Btw, an image of the error log:
http://i.imgur.com/Tq3Xp.png
 
Old 07-07-2011, 01:35 PM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello trs90, welcome to LQ,
Quote:
Originally Posted by trs90 View Post
... I've also tried checking the known_hosts file in the .ssh folder and adding the SSH keys manually and i still get the error. ...
you could try to delete the hostkey in the knownhosts folder. When I had this message I deleted the key and it worked afterwards.

Markus
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rsa host key error while trying to ssh to server abti Linux - Security 12 01-09-2013 06:45 AM
GRsync Error! Host key verification failed... linustalman Linux - Networking 2 01-27-2011 12:19 PM
How to use scp or sftp command line with a key file astroboiii Linux - Server 4 10-07-2010 11:27 AM
scp - Host key verification failed. Hellbike Linux - Server 2 05-30-2010 03:16 AM
error with scp command eduac Linux - Security 2 08-07-2003 04:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 03:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration