I’m trying to start the openHABian configuration tool on my plainvanilla openhHAB 2.3.0 installation.
After accessing the console via ssh and putting in the command “sudo openhab-config” the system asks for the password.
I’m using the password mentioned in the documentary but the login fails.
If you’ve SSH to the console and you get the welcome to Openhabian screen then the password you used to get this far should be the same to access the config tool.
Oh wait, try sudo openhabian-config not sudo openhab-config
After typing the “sudo…” command I’ll be asked for the password and after typing it in I’ll get the following line in the console: “Error executing command: login failed”
As mentioned before, the installation is plain vanilla and I’m using the standard sudo password like written in the documentary.
Here is a screen shot when SSH to pi. The first attempt I used the wrong password, see the output “Sorry, try again”
Second attempt I typed in the wrong thing, see the out put “command not found”
From where you are entering sudo openhabian-config, does your terminal look the same as the above? Just asking to make sure were on the same page.
OK, maybe that’s the issue…
I’m not working directly on the pi, instead I’m using putty to get remote access and this screen appears after logging in. What do I have to do to get to your starting point?
No, after connecting with putty. You should get a window with “login in:” followed by the question for the password. After that is completed you can enter the above!
I used to do this a few times. But after executing sudo with the default password I’ll get an access denied.
Am I doing the same process like you mentioned?
If you are getting this display ( which is the Karaf console) directly from putty you are doing (somehow) two steps in one move.
In there I would use “logout” to leave the console(not sure if the whole window would close in your case).
When I’m at home I’ll check on my pc.
Have you tried to access the terminal without proxy, just a normal session? Here’s an example where you enter your IP or host name (of openhab server) with port 22 and select SSH.
Hi. I am able to connect using putty and ssh port 22 to my Rpi running OpenHabian 3.3.0, but I don’t know which user and password should be used. I’ve tried the ‘admin’ user I have created in OH, and also that openhab/habopen, but neither of them works. Thanks!
Please be a bit more precise in describing what you are doing and what you want to do.
You write you can connect … so which user did you use for that ?
Then you write you don’t know which user/password to use. So I am confused and don’t know if you cannot connect or what you would like to do …
The user admini that you created in the OH main UI is only used for the main UI. openhab with password habopen is only used in the karaf console. Neither in main UI nor in the shell/putty.
All this most probably does not answer exaclty your question. See above…