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