AsusWRT / SSH key / Error connecting to

Hi All,

I used terminal to create a key so I can use the integration AsusWRT without password

ssh-keygen -t rsa -b 4096

Give the name asuswrt. Got nicely 2 files: asuswrt and asuswrt.pub.
no phrase password given

copied the line inside the pub file into my Asus Router in the Authorized Keys field

Tried to activate the integration:

host: IP of router (tried also the hostname ‘asus’)
username: my username of the router user
path ssh: /config/ssh/asuswrt (without .pub)
protocol: ssh
port: different then 22 (use other port)
Mode: router (Router itself is router not access point

The blue circle is spinning and spinning and then failed to connect error.

What do I wrong, or what do I not see…

Greets
Peter

same issue. also when using user/password.

I used puttygen a long time ago with these directions and it worked. I think now the integration must be configured via the UI. The default is RSA with 2048 bits, try that first…
How I got Asuswrt device tracker working with SSH key files - Configuration - Home Assistant Community (home-assistant.io)

Let me give that a try. Thats actually what im trying.
however: when i get to try with u/p combo, I get this at logs:

Logger: frontend.js.latest.202112200
Source: components/system_log/__init__.py:189
First occurred: 3:46:00 PM (2 occurrences)
Last logged: 3:46:00 PM

http://192.168.2.6:8123/frontend_latest/f04ea6dd.js:1:2553 Uncaught TypeError: Cannot read property 'fn' of undefined

same error using same.

ssh-keygen -t rsa -b 2048
ssh-copy-id user@host

Not sure if the error is related. I’ve noticed these errors since upgrading to 12.x .

Can ssh into the router with the key or user/password manually?

Ill have to try a bit later. No longer in front of a maintenance terminal or VPN.

SSH with U/P combo and U/SSH Key combo from PuTTY successful

Still no joy. Also, I had uPNP setup too, and HA sees it as a uPNP device, but fails once added to HASS