Security of Karaf console

  1. Create a key on the connecting client through your usual methods (e.g. ssh-keygen)
  2. Copy the public key into openHAB’s keys.properties (i.e. in userdata/etc/ or /var/lib/openhab2/etc/)
  • This follows the format [username]=[key],_g_:admingroup
  • Default username is openhab.
  1. Volia! Passwordless login
6 Likes