Karaf Warn invalid command and pty opcode

Using openHAB2 on Synology installed under debian chroot. In log i am having the following Warnings multiple times:

[WARN ] [ache.karaf.main.ShutdownSocketThread] - Karaf shutdown socket:  Invalid command '' received.

Any idea what this is?

And also multiple of these:

19:14:09.652 [WARN ] [e.sshd.server.channel.ChannelSession] - Unknown pty opcode value: 42

I know they are not related but i tried to hunt 2 birds with one stone :slight_smile:

It seems to be a known issue in Karaf 4.0.8… You can’t do something about it (other than wait for the OH2 maintainers team to upgrade the Karaf version being used) :slight_smile:

openhab> info
Karaf
  Karaf version               4.0.8

https://issues.apache.org/jira/browse/KARAF-4907

This seems to be related to your ssh client (it sends terminal mode 42). Maybe? connected to https://issues.apache.org/jira/browse/SSHD-679

Anyway… both are warnings and can be safely ignored :stuck_out_tongue:

1 Like

Thanks Dim, that’s a relief. Btw, about opcode 42, i am using OSX ssh to directly connect to openHAB2, if anyone else using OSX to connect to their servers they might be having the same problem.I just chose to ignore at the moment…