Karaf console access denied

first I have no problem to connect to karaf console via
ssh openhab@localhost -p 8101

I want to connect via notebook so I make the steps written in http://docs.openhab.org/administration/console.html

sudo sed -i -e “s/sshHost = 127.0.0.1/sshHost = 0.0.0.0/g” /var/lib/openhab2/etc/org.apache.karaf.shell.cfg
sudo sed -i -e “s/openhab = habopen/openhab = securePassword/g” /var/lib/openhab2/etc/users.properties

After the steps I can’t connect to karaf console local and remote, I was asked for openhab password - but habopen or openhab doesn’t work. the user karaf/karaf also didn’t work

Any Ideas ?

ssh openhab@localhost -p 8101
Password authentication
Password:
Password authentication
Password:
Password authentication
Password:
openhab@localhost’s password:
Permission denied, please try again.
openhab@localhost’s password:
Permission denied, please try again.
openhab@localhost’s password:
Permission denied (keyboard-interactive,password,publickey).

Same issue here. Any got any ideas?

I could fix the issue by creating /var/lib/openhab2/etc/users.properties and copying the content as described here. User is then: karaf/karaf

1 Like

Thank you, the solution is working

Worked here aswell, thank you!

Works for me also,

just add :

karaf = karaf,g:admingroup
g:admingroup = group,admin,manager,viewer

Thanks !!!