Host Identification changes after a few logins to JBoss Fuse Karaf console.

Solution Unverified - Updated -

Issue

The ssh server in JBoss Fuse is starting to, after a couple of successfull connects to say that my host identification has changed when in fact it has not since im connecting from the same machine all the time.

I'm still able to authenticate and log-in to the Apache Karaf console using the command line but when using the exact same command in a script the command is always timing out and sometimes it says that I'm refused access.

Here is what I get when I try to ssh into the karaf console:

[user@mydomain data]$ ssh -p 8101 localhost -l user
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the DSA key sent by the remote host is
f7:b6:13:51:31:9b:4e:93:86:5e:a7:83:73:65:26:dc.
Please contact your system administrator.
Add correct host key in /www/mydomain/home/user/.ssh/known_hosts to get rid of this message.
Offending DSA key in /www/mydomain/home/user/.ssh/known_hosts:1
Password authentication is disabled to avoid man-in-the-middle attacks.
Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.
Agent forwarding is disabled to avoid man-in-the-middle attacks.
X11 forwarding is disabled to avoid man-in-the-middle attacks.
Authenticated with partial success.
Permission denied (keyboard-interactive,password,publickey).

But after I run this command I can login fine:
[user@mydomain data]$ rm /www/mydomain/home/user/.ssh/known_hosts

Environment

Red Hat JBoss Fuse 6.1.0 Beta

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content