Yes it's normal: for security reason the authentication by certificate has been 
disabled. You can enable it by uncommenting in etc/keys.properties.
To switch to password authentication,  use -u to the bin/client.

Regards
JB


Sent from my Samsung Galaxy smartphone.


-------- Original message --------
From: Frank Lyaruu <[email protected]> 
Date:29/10/2014  07:56  (GMT+01:00) 
To: [email protected] 
Cc:  
Subject: Problem logging into the karaf console using 'client' in Karaf 3.0.2 

Hi all,

The following scenario works in 3.0.1 but not 3.0.2:
(On MacOs, Java 1.7.0_51)

- I extract a fresh Karaf.
- cd apache-karaf-3.0.2/bin
- ./start
- <wait for a bit>
- ./client

In 3.0.1 I'm now in the console:

934 [pool-2-thread-2] WARN 
org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at 
/0.0.0.0:8101 presented unverified key: 
Logging in as karaf
        __ __                  ____      
       / //_/____ __________ _/ __/      
      / ,<  / __ `/ ___/ __ `/ /_        
     / /| |/ /_/ / /  / /_/ / __/        
    /_/ |_|\__,_/_/   \__,_/_/         

  Apache Karaf (3.0.1)

And everything works

In 3.0.2 I get the following error:

Logging in as _g_:admingroup
2396 [sshd-SshClient[5d1d9371]-nio2-thread-1] WARN 
org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at 
[/0.0.0.0:8101, DSA, 9a:85:a0:6f:1d:d0:ea:a9:e2:44:e7:b9:41:70:59:78] presented 
unverified {} key: {}
Password:  

Even if I enter the 'karaf' password, it does not work (in 3.0.1 there is no 
password prompt)

Using my 'own' ssh does work, but isn't as convenient for me:

 ssh karaf@localhost -p 8101
(+ password karaf)

Any ideas?

regards, Frank

Reply via email to