I am trying to find a way to get the event when a “User”/Root/“openhab” logs into OpenHab via SSH/Console.
My goal is to play a sound or some other action whenever I enter OpenHab via SSH.
Like the good old “Link Engaged” Teamspeak voice.
Also, it would really be Interesting for Security reasons, to see or get notified whenever there is an attempt to Login to the Openhab system.
But Unfortunately This crashed my Entire Set Up… And I had no Back Up (But i wantet to reset everything up anyway and was just looking for a reason… so thanks)
I could not Log in to SSH enymore… I followed the example on the post
(ForceCommand /usr/bin/ownscript) an i got:
–> “No such file or directory in /usr/bin/ownscript”