[
https://issues.apache.org/jira/browse/KARAF-6891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17220357#comment-17220357
]
Freeman Yue Fang edited comment on KARAF-6891 at 10/25/20, 6:14 PM:
--------------------------------------------------------------------
Hi [~catull],
FYI, I did a quick test but I can't reproduce it.
bin/client works for me.
in the log
{code}
2020-10-25T14:11:21,089 | INFO | sshd-SshServer[5b3e6220]-nio2-thread-2 |
ServerUserAuthService | 38 - org.apache.sshd.core - 1.7.0 | Session
karaf@/127.0.0.1:54126 authenticated
{code}
and bin/client -v output
{code}
bin/client -v
Logging in as karaf
340 [sshd-SshClient[1ed4004b]-nio2-thread-3] WARN
org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at
localhost/127.0.0.1:8101 presented unverified RSA key:
SHA256:gIEUlCHbT7e+vOKKacz3WlN6EjPpI+GzE5Iyn6MVcnE
__ __ ____
/ //_/____ __________ _/ __/
/ ,< / __ `/ ___/ __ `/ /_
/ /| |/ /_/ / / / /_/ / __/
/_/ |_|\__,_/_/ \__,_/_/
Apache Karaf (4.2.9)
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()>
{code}
My env
{code}
MacOS 10.15.7
java -version
java version "11.0.5" 2019-10-15 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.5+10-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.5+10-LTS, mixed mode)
{code}
Did you run with a clean Karaf installation?
Freeman
was (Author: ffang):
Hi [~catull],
FYI, I did a quick test but I can't reproduce it.
bin/client works for me.
in the log
{code}
2020-10-25T14:11:21,089 | INFO | sshd-SshServer[5b3e6220]-nio2-thread-2 |
ServerUserAuthService | 38 - org.apache.sshd.core - 1.7.0 | Session
karaf@/127.0.0.1:54126 authenticated
{code}
and bin/client -v output
{code}
bin/client -v
Logging in as karaf
340 [sshd-SshClient[1ed4004b]-nio2-thread-3] WARN
org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at
localhost/127.0.0.1:8101 presented unverified RSA key:
SHA256:gIEUlCHbT7e+vOKKacz3WlN6EjPpI+GzE5Iyn6MVcnE
__ __ ____
/ //_/____ __________ _/ __/
/ ,< / __ `/ ___/ __ `/ /_
/ /| |/ /_/ / / / /_/ / __/
/_/ |_|\__,_/_/ \__,_/_/
Apache Karaf (4.2.9)
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()>
{code}
My env
{code}
MacOS 10.15.7
java -version
java version "11.0.5" 2019-10-15 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.5+10-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.5+10-LTS, mixed mode)
{code}
Freeman
> Cannot log onto karaf 4.2.9 (localhost)
> ---------------------------------------
>
> Key: KARAF-6891
> URL: https://issues.apache.org/jira/browse/KARAF-6891
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Affects Versions: 4.2.9
> Environment: OS: macOS 10.13.6
> JVM: java(TM) SE Runtime Environment 18.9 (build 11.0.8+10-LTS)
> Reporter: Carlo Dapor
> Priority: Major
>
> Installed karaf 4.2.9.
> Owned by user, started by the user.
> Loggin on with ${KARAF_HOME}/bin/client
> data/log/karaf.log shows
> {code}
> 2020-10-25T18:45:48,872 | INFO | sshd-SshServer[d0001a4]-nio2-thread-2 |
> ServerUserAuthService | 38 - org.apache.sshd.core - 1.7.0 | Session
> karaf@/127.0.0.1:49782 authenticated
> 2020-10-25T18:45:49,145 | WARN | sshd-SshServer[d0001a4]-nio2-thread-1 |
> ServerSessionImpl | 38 - org.apache.sshd.core - 1.7.0 |
> exceptionCaught(ServerSessionImpl[karaf@/127.0.0.1:49782])[state=Opened]
> RuntimeSshException: null
> {code}
> When calling ${KARAF_HOME}/bin/client -v
> the immediate output is:
> {code}
> ➜ apache-karaf-4.2.9 bin/client -v
> Logging in as karaf
> 722 [sshd-SshClient[f78a47e]-nio2-thread-2] WARN
> org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at
> localhost/127.0.0.1:8101 presented unverified RSA key:
> SHA256:o3QJTe##############################
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)