core: ASUSWRT integration won't connect via SSH: No matching algo hostkey
The problem
After updating the firmware of ASUS router the ASUSWRT integration is unable to set up a connection. Router log says:
RT-AC86U dropbear[6763]: Exit before auth from <192.168.1.1:59492>: No matching algo hostkey
I did a factory reset on the router with newest MerlinWRT firmware 384.18. This does not solve the problem. Fresh install on previous firmware, MerlinWRT firmware 384.17 the problem is solved and connection works as usual.
I verified there are more users reporting the same problem: https://community.home-assistant.io/t/asuswrt-ssh-login-failing/208525
Environment
- Home Assistant Core release with the issue:
- Last working Home Assistant Core release (if known): Latest, also tested on 0.112.0b3
- Operating environment (OS/Container/Supervised/Core): HassOS 4.10
- Integration causing this issue: ASUSWRT
- Link to integration documentation on our website: https://www.home-assistant.io/integrations/asuswrt/
Problem-relevant configuration.yaml
# Example configuration.yaml entry
asuswrt:
host: 192.168.1.1
username: admin
password: password
protocol: ssh
mode: router
sensors:
- devices
- upload
- download
- upload_speed
- download_speed
device_tracker:
- platform: asuswrt
host: 192.168.1.1
username: admin
interval_seconds: 10
consider_home: 180
new_device_defaults:
track_new_devices: true
Traceback/Error logs
Additional information
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 24 (9 by maintainers)
Commits related to this issue
- https://github.com/home-assistant/core/issues/37269 Took 7 minutes — committed to kennedyshead/aioasuswrt by MagnusKnutas 4 years ago
- https://github.com/home-assistant/core/issues/37269 Took 50 seconds — committed to kennedyshead/aioasuswrt by MagnusKnutas 4 years ago
I’ll prepare a version for release
Thank you. This worked!! Hopefully will be included in next Homeassistant update…
Its a little complicated in HassOS because it will overwrite a pip installation. Login via ssh (make sure protection is disabled in the ssh add-on)
docker psfind the code before the homeassistant container: eg. c0ea8aecacae homeassistant/raspberrypi4-homeassistant:0.112.0