Hello! Thanks very much for your answer! I have tried now today to download the source 4.1.1 based on commit https://github.com/apache/karaf/commit/74a801a8e559f2899e47edd381cdff136808cd12 from https://github.com/apache/karaf/releases. I do still get errors though, which I really take as a sign that my machine might not be the best (it is not a clean installation to ensure nothing in my environment is affecting the test outcomes). The result output report is https://pastebin.com/1sTp0Hct. I have uploaded the report files to My Google Drive if you are curious/if it is of use for you: https://drive.google.com/open?id=0B8yMq8B2NqFRVVRaV3l6aGdMalU however since the bug you have been very kindly working on was updated yesterday this report might or might not be of use for you. I have unfortunately not knowledge enough to dive into it myself, but I will in the coming days try it out on other machines.
From: Guillaume Nodet-2 [via Karaf] [mailto:[email protected]] Sent: den 29 mars 2017 7:47 To: Andersson Anders (8) (Consultant) Subject: Re: Odd behaviour with bin/client This is caused by https://issues.apache.org/jira/browse/SSHD-732 I've also added a workaround in Karaf which should be in 4.1.1: https://github.com/apache/karaf/blob/master/client/src/main/java/org/apache/karaf/client/Main.java#L154 2017-03-29 16:35 GMT+02:00 Anders <[hidden email]</user/SendEmail.jtp?type=node&node=4049966&i=0>>: Hello! I am trying Karaf 4.1.0. All things below is done on an unmodified directory structure after extracting apache-karaf-4.1.0.tar.gz. I am starting the software on a Fedora 25 64bit Oracle JDK 8 (tried as well OpenJDK 8) running in VirtualBox, using the command bin/start. Karaf 4.1.0 starts fine. However when I try to connect to the shell using bin/client it continuously asks me for the password: $ bin/client client: JAVA_HOME not set; results may vary Logging in as karaf Password: Password: No more authentication methods available I tried to set JAVA_HOME variable but that just removed the warning. I can login with ssh: $ ssh -p 8101 karaf@localhost Password authentication Password: __ __ ____ / //_/____ __________ _/ __/ / ,< / __ `/ ___/ __ `/ /_ / /| |/ /_/ / / / /_/ / __/ /_/ |_|\__,_/_/ \__,_/_/ Apache Karaf (4.1.0) Hit '<tab>' for a list of available commands and '[cmd] --help' for help on a specific command. Hit 'system:shutdown' to shutdown Karaf. Hit '<ctrl-d>' or type 'logout' to disconnect shell from current session. karaf@root()> However ssh is unusable as that somehow adds way to many tabs and spaces (like pasting indented code to vim with wrong settings)...it is unreadable. The next odd thing is: I tried Karaf 4.0.8 and that works! Not only does it works, it can connect to Karaf 4.1.0 no problems. It does not ask for a password: $ bin/client client: JAVA_HOME not set; results may vary Logging in as karaf __ __ ____ / //_/____ __________ _/ __/ / ,< / __ `/ ___/ __ `/ /_ / /| |/ /_/ / / / /_/ / __/ /_/ |_|\__,_/_/ \__,_/_/ Apache Karaf (4.1.0) Hit '<tab>' for a list of available commands and '[cmd] --help' for help on a specific command. Hit 'system:shutdown' to shutdown Karaf. Hit '<ctrl-d>' or type 'logout' to disconnect shell from current session. karaf@root()> The output is correctly formatted here and is usable (except I have to press Ctrl-j to run commands, as it is running in a hard core Emacs setting, Enter is not responding). Lastly I tried bin/shell. From there I could access ssh:ssh. I got the output in this pastebin: https://pastebin.com/2wg0rv3B. I did two attempts, one to default port 22 (not asking for password) and 8101 (asked twice for password). You can see the second attempt about halfway down. I pressed ENTER a few times on the prompt so it is easier to find. I watched data/log/karaf.log. It does add this line (before typing password, but after I run bin/client): 2017-03-29T16:31:37,069 | WARN | sshd-SshServer[279691af]-nio2-thread-1 | VersionProperties$LazyHolder | 48 - org.apache.sshd.core - 1.2.0 | Failed (FileNotFoundException) to load version properties: Resource does not exists That message appears only once, NOT once per attempt. Once per restart. And as said, before I type the password. Do anyone have any clue what might be the problem? I would be really happy to hear what it might be! -- View this message in context: http://karaf.922171.n3.nabble.com/Odd-behaviour-with-bin-client-tp4049962.html Sent from the Karaf - User mailing list archive at Nabble.com. -- ------------------------ Guillaume Nodet ________________________________ If you reply to this email, your message will be added to the discussion below: http://karaf.922171.n3.nabble.com/Odd-behaviour-with-bin-client-tp4049962p4049966.html To unsubscribe from Odd behaviour with bin/client, click here<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4049962&code=YW5kZXJzLmFuZGVyc3Nvbi44QGNvbnN1bHRhbnQudm9sdm8uY29tfDQwNDk5NjJ8LTE2MjE4ODc3MTQ=>. NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> This email message and any attachments may contain confidential information and may be privileged. If you are not the intended recipient or otherwise not authorized to receive this message, you are prohibited to use, copy, disclose or take any action based on this email or any information contained herein. If you are not the intended recipient, please advise the sender immediately by replying to this email and permanently delete this message and any attachments from your system. -- View this message in context: http://karaf.922171.n3.nabble.com/Odd-behaviour-with-bin-client-tp4049962p4049967.html Sent from the Karaf - User mailing list archive at Nabble.com.
