Hi, - etc/org.apache.karaf.shell.cfg is the default Karaf file - In etc/users.properties I had replaced the default Karaf user by my own 'admin' with encrypted password. After reverting to the default users.properties, and disabling encryption in org.apache.karaf.jaas.cfg, the logline still appeared.
Best regards, Steven On Tue, May 4, 2021 at 1:43 PM Jean-Baptiste Onofre <[email protected]> wrote: > Hi, > > What do you have in etc/org.apache.karaf.shell.cfg or etc/users.properties > ? > > Regards > JB > > Le 4 mai 2021 à 12:18, Steven Huypens <[email protected]> a écrit : > > Hi, > > When executing the command "instance:list" on our custom Karaf 4.2.11 > distro (based on 'standard'), we see the following warning in the logfile. > > *2021-05-04 12:07:12,138 - > [o.a.s.s.s.ServerSessionImpl][sshd-SshServer[44db67ef](port=8101)-nio2-thread-2] > WARN - > exceptionCaught(ServerSessionImpl[null@/127.0.0.1:54060])[state=Opened] > IOException: De software op uw hostcomputer heeft een verbinding verbroken* > > It looks like an shh-connection is being made with username 'null', which > obviously fails. > > This WARN is also logged when accessing the InstancesMBean, for instance > by the decanter-collector-jmx.This means we see the WARN regularly in our > logs. > > I would like to prevent this WARN-logline from being logged, but didn't > find a way to configure the default username, nor to disable the Mbean. > > Any suggestions ? > > Kind regards, > Steven > > >
