I am on Ubuntu Linux 22.04.3 and am running OH 4.0.4 and Openhabian.
I just noticed, that I cannot access the Karaf console (anymore). These are my error messages;
martin@openhabian:~$ ssh openhab:localhost -p 8081
ssh: Could not resolve hostname openhab:localhost: Name or service not known
martin@openhabian:~$ ssh openhab:127.0.0.1 -p 8081
ssh: Could not resolve hostname openhab:127.0.0.1: Name or service not known
I find this strange, as I have occacionally used the console in the past - but cannot remember if I have migrated my OH-installation to a new environment in the meantime (I know I have - but dont remember if I have used the console since).
Btw, it is well documented that openHABian is not supported to run on other distributions than debian based….
It might work, but it also might throw errors…
Thanks ! - works !
I know about the support issue on other distributions than debian - but this is the first time I have had any issue with any of my OH-installations on Ubuntu.
Now that is what I call help - I ran through my original question and could indeed see that i had used “:” instead of @ between the openhab and localhost…
Now it works here as well. Thanks for help to clairify this !
martin@openhabian:~$ ssh openhab@localhost -p 8101
The authenticity of host '[localhost]:8101 ([127.0.0.1]:8101)' can't be established.
RSA key fingerprint is SHA256:yKmVEuEaaOlL1tlkj8gcahgLBDdTqJFMfZlsyrsW8bM.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '[localhost]:8101' (RSA) to the list of known hosts.
Password authentication
(openhab@localhost) Password:
_ _ _ ____
___ ___ ___ ___ | | | | / \ | __ )
/ _ \ / _ \ / _ \ / _ \ | |_| | / _ \ | _ \
| (_) | (_) | __/| | | || _ | / ___ \ | |_) )
\___/| __/ \___/|_| |_||_| |_|/_/ \_\|____/
|_| 4.0.4 - Release Build
Use '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
To exit, use '<ctrl-d>' or 'logout'.
openhab>