Hi Frank, I just recently stumbled over this kind of issue too. You'll need to add the user to the command. client -u karaf this way it's working as expected.
regards, Achim 2014-10-29 7:56 GMT+01:00 Frank Lyaruu <[email protected]>: > 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 > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> Software Architect / Project Manager / Scrum Master
