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.