ASUSWRT configuration - "SSH key file not found"

UPDATE: I configured this with password login so I guess I solved this for my instance… But shouldn’t key login work?


I’m trying to set up the ASUSWRT integration. For security and ease of use, I previously set my router to use public/private key pairs for sign-in, and I disabled password sign-in. From my Home Assistant terminal window, I can sign into the router with
ssh -i /data/.ssh/blahkey -p2345 [email protected]
so everything works fine.

But when I try to configure ASUSWRT – no matter what I try to enter in “Path to your SSH key file (instead of password)” – I get “SSH key file not found.”

I’ve tried the path on the Home Assistant box ( /data/.ssh/blahkey as well as /root/.ssh/blahkey ) and the path on my Windows machine (c:\Users\blah.ssh\blahkey and also \Users\blah.ssh\blahkey and /Users/blah/.ssh/blahkey and \Users\blah\.ssh\blahkey) - but I always get “SSH key file not found.”

Any suggestions? Thanks!

Assuming you’re using HAOS (or Containerized) installation, HA basically only knows of files under “/config”.
Probably best to create a specific HA SSH keypair, e.g., in “/config/.ssh”, and allow that key to connect.

That worked! Thanks!