I updated my openHAB from 4.2.2 to 4.3.0 with the openhabian config tool. The update went through successfully and my openHAB is up and running.
However, I’m not able to log in to the server with SSH anymore.
The network connection between my laptop and the Raspberry running openHAB is working correctly and the SSH server is running, because I’m prompted to enter the password.
My password is stored in a password vault so I’m 100% sure that I’m not entering it incorrectly. I also tried the default password openahabian but that does not work either.
Any advice or is the only alternative to just nuke the current environment?
Unfortunately I can’t give any advice, but instead of nuking I would consider to shutdown (or on this case hard power off as you cannot ssh into) and mounting the SD Card to a Linux machine or a windows machine (in that case you might need an ext4 driver).
From there you can check and modify the ssh config file (/etc/ssh/sshd_config) and the user file (/etc/passwd).
Okay this goes beyond my imagination… I have two laptops and the Keepass password vault file is in synch between them - the passwords are identical with an eyeball comparison and the history shows the same timestamp for the update. But with one laptop I can log in, while from the other I can’t.
Anyway, I don’t think it has anything to do with openhabian and it’s clearly something in my end…
what about using the laptop that works to store the public ssh key of the user on the laptop that does work into the account of openhabian on the pi ?
You can use the option -vvv for the ssh command to get verbose output about what is going on during the login attempt.
I’ve seen syncing issues with KeyPass before. For me it got so bad and quirky that I eventually found another solution. Though now you know that this can happen it won’t take you as long to figure out next time.