Host key verification failed | ssh

tsaenger

Renowned Member
Mar 10, 2010
136
2
83
[SOLVED]Host key verification failed | ssh

Hello,

i tried to use an ssh-connection to my 2nd Server, but i get this Error-Msg when i am connecting:

Code:
server:~# ssh 1xx.xx.41.224
Host key verification failed.
It is equal witch server i try to connect to. Also all openVZ-container have the same problem.

I am using:
Code:
pve-manager: 1.7-12 (pve-manager/1.7/5490)
running kernel: 2.6.32-4-pve
proxmox-ve-2.6.32: 1.7-30
pve-kernel-2.6.32-4-pve: 2.6.32-30
qemu-server: 1.1-28
pve-firmware: 1.0-10
libpve-storage-perl: 1.0-16
vncterm: 0.9-2
vzctl: 3.0.24-1pve4
vzdump: 1.2-10
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.13.0-3
ksm-control-daemon: 1.0-5
Does some one has an idea what to do?

Thanks a lot

Tobias
 
Last edited:
if i create an new openvz container, i can use ssh. Only with the old containers i can't.

Regards

Tobias
 
Hi diemar,

thanks for your answer.
But i don't have the file known_hosts

[COEDE]
webserver:~/.ssh# pwd
/root/.ssh
webserver:~/.ssh# ls -lah
insgesamt 4,0K
drwx------ 2 root root 6 15. Okt 18:45 .
drwxr-xr-x 5 root root 4,0K 15. Okt 18:45 ..
[/CODE]

Regards
Tobias
 
hi,

yes i tried it from the guest. There i can't find the known_hosts.
On my host-sytem i can make make ssl-connection.

Regards

Tobias
 
Helo,

i solved my problem by doing:

Code:
vm:/vz/private/212# cp -a /dev/tty* /vz/private/211/dev
vm:/vz/private/212# cp -a /dev/ptyp* /vz/private/211/dev
vm:/vz/private/211# /sbin/MAKEDEV ptyp
vm:/vz/private/211# /sbin/MAKEDEV ttyp

Thanks for help

Tobias