JBoss Fuse 6.1 SSH console regenerates the SSL key on every restart
Issue
1) I connect to a container using ssh:
[jshepher@mymachine ~]$ ssh -l admin -p 8101 mymachine
The authenticity of host '[mymachine]:8101 ([10.80.107.36]:8101)' can't be established.
DSA key fingerprint is 73:3b:37:e1:36:2d:64:af:4c:a5:52:ca:3f:ba:0a:c3.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[mymachine]:8101,[10.80.107.36]:8101' (DSA) to the list of known hosts.
Authenticated with partial success.
Password authentication
Password:
JBossFuse:admin@root>
All good.
2) I restart the container.
3) try to log in again
[jshepher@mymachine ~]$ ssh -l admin -p 8101 mymachine
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 the DSA host key has just been changed.
The fingerprint for the DSA key sent by the remote host is
f1:f6:fd:77:35:40:73:49:84:ed:b8:d1:80:88:a2:1d.
Please contact your system administrator.
Add correct host key in /home/jshepher/.ssh/known_hosts to get rid of this message.
Offending key in /home/jshepher/.ssh/known_hosts:1
DSA host key for [mymachine]:8101 has changed and you have requested strict checking.
Host key verification failed.
the key pair has been regenerated.
- Every time I start fuse server from eclipse I get a screen asking to regenerates the SSL key.
Environment
Red Hat JBoss Fuse 6.1.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.