Continuing the discussion from Ssh connection to karaf no longer possible:
I just got this same issue today on openHAB 2.5.0-1 (Release Build). I had just changed permissions to establish setup of ssh using a key for auto-logging into openhabian:
chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys
After that (and it may not have been the triggering event), the password habopen stopped working for logging into console:
[11:24:38] openhabian@openhab:~$ openhab-cli console Logging in as openhab Password: Password: No more authentication methods available
Next, I changed the console password (using openhabian-config) and tried again to login to the console. That did not work.
Next, I stopped openhab (sudo systemctl stop openhab2.service), cleared the cache (sudo openhab-cli clean-cache), then did a reboot.
After reboot, I tried again to login to the console, and now there is a different result, but still no success:
11:33:53] openhabian@openhab:~$ openhab-cli console Logging in as openhab Password: Session is being closed
After waiting a minute, I tried again, and got the first result (No more authentication methods available) again.