openhab-docker/contrib/cont-init.d/20-add-allowed-ssh-keys

13 lines
242 B
Plaintext
Raw Normal View History

#!/bin/bash -x
cat > /openhab/userdata/etc/keys.properties <<EOF
#
# For security reason, the default auto-signed key is disabled.
#
openhab=A...your-ssh-public-key-here...B,_g_:admingroup
_g_\:admingroup = group,admin,manager,viewer
EOF