Closed vmkalbskopf closed 1 year ago
Hi I have the same issue. Did you find any solution for this? I'm not sure what this error is about.
Ditto, this was working fine up until a few weeks ago.
I've narrowed it down to Fedora 36+ and Ubuntu 22.04 destinations rejecting the connection attempts. I can reach Fedora 35, Ubuntu 16/18/20 LTS servers fine.
Check your SSH key. If its ssh-rsa, thats likely the reason it's getting rejected.
It may guide you to a fix.
you're absolutely right. I changed the key to ssh-ed25519 and now it's working. Maybe for others who are finding this Thread, my issue was with homeassistant version 2022.12.7 and the official ssh add-on
In the future, this issue would be easier to solve with debug logs, as that should report e.g. details about the authentication process.
Looks like this was due to the remote system rejecting the key type without it reporting (through the ssh2
library I use) about this problem, hence a generic error about authentication failing.
I can't connect from my Ubuntu 22.08 workstation to another Linux server.
Here's my settings.json
I have tried specifying the private key instead of the agent, but I get exactly the same results.
Here's the logs from the Output: