rovarga commented on issue #1990:
URL: https://github.com/apache/karaf/issues/1990#issuecomment-3233980547
With plain `apache-karaf-4.4.8.tar.gz` from Maven Central:
```
nite@nitebug : ~$ tar xf apache-karaf-4.4.8.tar.gz
nite@nitebug : ~$ cd apache-karaf-4.4.8
nite@nitebug : ~/apache-karaf-4.4.8$ vim etc/users.properties
nite@nitebug : ~/apache-karaf-4.4.8$ ./bin/karaf
__ __ ____
/ //_/____ __________ _/ __/
/ ,< / __ `/ ___/ __ `/ /_
/ /| |/ /_/ / / / /_/ / __/
/_/ |_|\__,_/_/ \__,_/_/
Apache Karaf (4.4.8)
Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf.
karaf@root()>
```
and in other window:
```
nite@nitebug : ~$ ssh -V
OpenSSH_9.9p1, OpenSSL 3.2.4 11 Feb 2025
nite@nitebug : ~$ ssh -p 8101 karaf@localhost
The authenticity of host '[localhost]:8101 ([::1]:8101)' can't be
established.
RSA key fingerprint is SHA256:pnNq5HjPo+UQC3qh86zsZZkuugqX8zE2DoVtLRuJr4o.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '[localhost]:8101' (RSA) to the list of known
hosts.
Password authentication
(karaf@localhost) Password:
__ __ ____
/ //_/____ __________ _/ __/
/ ,< / __ `/ ___/ __ `/ /_
/ /| |/ /_/ / / / /_/ / __/
/_/ |_|\__,_/_/ \__,_/_/
Apache Karaf (4.4.8)
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()>
```
and logs show:
```
nite@nitebug : ~/apache-karaf-4.4.8$ tail -n 6 data/log/karaf.log
2025-08-28T17:26:17,470 | INFO |
sshd-SshServer[134e79a6](port=8101)-nio2-thread-1 | OpenSSHKeyPairProvider
| 46 - org.apache.karaf.shell.ssh - 4.4.8 | Creating ssh server private
key at /home/nite/apache-karaf-4.4.8/etc/host.key
2025-08-28T17:26:17,472 | INFO |
sshd-SshServer[134e79a6](port=8101)-nio2-thread-1 | OpenSSHKeyPairGenerator
| 46 - org.apache.karaf.shell.ssh - 4.4.8 | generateKeyPair(RSA)
generating host key - size=2048
2025-08-28T17:26:19,511 | WARN |
sshd-SshServer[134e79a6](port=8101)-nio2-thread-2 | ServerUserAuthService
| 48 - org.apache.sshd.osgi - 2.15.0 |
handleUserAuthRequestMessage(ServerSessionImpl[null@/[0:0:0:0:0:0:0:1]:44964])
Failed (IllegalArgumentException) to authenticate using factory
method=publickey: No verifier located for algorithm=ssh-ed25519
2025-08-28T17:26:20,806 | INFO |
sshd-SshServer[134e79a6](port=8101)-nio2-thread-2 | ServerSessionImpl
| 48 - org.apache.sshd.osgi - 2.15.0 | Session
karaf@/[0:0:0:0:0:0:0:1]:44964 authenticated
2025-08-28T17:26:44,533 | INFO | CM Configuration Updater (Update:
pid=org.ops4j.pax.logging) | EventAdminConfigurationNotifier | 6 -
org.ops4j.pax.logging.pax-logging-log4j2 - 2.3.0 | Sending Event Admin
notification (configuration successful) to org/ops4j/pax/logging/Configuration
2025-08-28T17:26:45,241 | INFO | CM Configuration Updater (Update:
pid=org.ops4j.pax.logging) | EventAdminConfigurationNotifier | 6 -
org.ops4j.pax.logging.pax-logging-log4j2 - 2.3.0 | Sending Event Admin
notification (configuration successful) to org/ops4j/pax/logging/Configuration
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]