[ 
https://issues.apache.org/jira/browse/KARAF-2574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13825343#comment-13825343
 ] 

Jean-Baptiste Onofré commented on KARAF-2574:
---------------------------------------------

The problem was that the ssh:ssh client loads the known hosts from 
${user.home}/.sshkaraf/known_hosts. I had an "old" known_hosts file that 
blocked access to the root instance.

So the behavior is correct, but the exception message is not very clear.

I try to improve it.

> Cannot connect to root instance
> -------------------------------
>
>                 Key: KARAF-2574
>                 URL: https://issues.apache.org/jira/browse/KARAF-2574
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-instance
>    Affects Versions: 3.0.0
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>
> It's not possible to connect to an instance using the instance:connect 
> instance:
> karaf@root()> instance:connect root
> Connecting to host localhost on port 8101
> Connected
> Server key for host localhost/127.0.0.1:8101 does not match the stored key !! 
> Terminating session.
> Error executing command: Session is closed
> and it's not possible to switch to username/password authentication (instead 
> of the key authentication).



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to