Hi

I just tested with a fresh karaf 4.4.8 and indeed the authentication is failing.

I think I found the issue, let me create a GitHub Issue and
investigate deeper tomorrow.

Regards
JB

On Mon, Aug 25, 2025 at 11:02 PM Jean-Baptiste Onofré <j...@nanthrax.net> wrote:
>
> Hi Steinar
>
> Let me check, but sshd should still work. However, sshd has been
> updated, so it could be related.
>
> Again, let me test and open an issue to fix for 4.4.9 if needed.
>
> Thanks !
> Regards
> JB
>
> On Mon, Aug 25, 2025 at 7:47 PM Steinar Bang <s...@dod.no> wrote:
> >
> > I have problems with sshd in karaf 4.4.8 and am wondering if there are
> > any config changes or policy changes related to that?
> >
> > Specifically:
> >  Is the sshd off by default 4.4.8?
> >  Is password authentication in ssh off by default in 4.4.8?
> >
> > A quick reminder: I'm maintaining an unofficial debian package for karaf
> >  https://github.com/steinarb/karaf-debian
> >  https://steinar.bang.priv.no/2018/01/23/installing-apache-karaf-on-debian/
> >
> > The package downloads the karaf source tarball and rebuilds karaf before
> > packaging it.
> >
> > The debian/rules files contains the command for downloading and patching
> > the source and building the package:
> >  https://github.com/steinarb/karaf-debian/blob/master/debian/rules
> >
> > Patching of /etc files takes place in override_dh_auto_install
> >  
> > https://github.com/steinarb/karaf-debian/blob/master/debian/rules#L24C1-L24C25
> >
> > When rebuilding the package for 4.4.8 and after installing the 4.4.8
> > package the sshd doesn't start as all (as far as I can tell from
> > karaf.log) and it's not possible to connect:
> >
> >  sb@lorenzo:~$ ssh -p 8101 karaf@localhost
> >  ssh: connect to host localhost port 8101: Connection refused
> >  sb@lorenzo:~$
> >
> > I tried unpacking the binary tarball from 4.4.8 and starting karaf from
> > that, and here sshd starts, and I can connect to it, but I am unable to
> > log in even after uncommenting the karaf user in etc/users.properties
> >
> > I am looking through config of both source and binary tarballs to figure
> > out what's going on. But all hints and pointers are appreciated.
> >
> > Thanks!
> >
> >
> > - Steinar
> >

Reply via email to