SHH access items to make alexa control lights

I am trying to get my echo talkin with openhab to control lighting. following this guide from MK smart house https://www.mksmarthouse.com/amazon-echo

I get stuck when entering the first bit in to SHH it asks for a password, this isnt ‘habopen’ or my server password (see below copy from clipboard)

Any one have any ideas what this may be? as currently i can not get past this to carry on with the guide.

thanks


                          __  _____    ____
  ____  ____  ___  ____  / / / /   |  / __ )
 / __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __  |
/ /_/ / /_/ /  __/ / / / __  / ___ |/ /_/ /
\____/ .___/\___/_/ /_/_/ /_/_/  |_/_____/
    /_/                        2.4.0
                               Release Build

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown openHAB.

openhab> sudo nano /etc/openhab2/items/home.items
Password: **************
Error executing command: login failed
openhab>
sudo nano /etc/openhab2/items/home.items
Password: *******
Error executing command: login failed
openhab> sudo nano /etc/openhab2/items/home.items
Password: *******
Error executing command: login failed
openhab>

Platform information:

  • Hardware
  • OS: windows home server
  • openHAB version: 2.4
  • If logs where generated please post these here using code fences:

You are concusing the Karaf console with the Linux shell. You should connect to port 8080 (if you haven’t changed it)…:slightly_smiling_face:

The common way to connect to bash (or whatever console is used in the GNU/Linux system) is ssh.
When using a raspberry with raspbian (e.g. openHABian would install raspbian as OS), openssh will be the ssh server. You can connect through puTTY or other ssh clients (current Windows10 has a built in ssh client)
openssh is listening on port 22 by default.

To connect to karaf console, you can use

openhab-cli console

or the ssh client

ssh openhab@localhost -p8101

with default password habopen

So, openHAB starts the internal ssh server for karaf at port 8101 per default. Also, per default you can only connect to the karaf console at localhost.

When using sudo, GNU/Linux will ask for a password, this is the password for the logged in user, so if logging in with e.g. user openhabian, you need to use this password.