Hi,
So I managed to get WoL to work although the documentation is quiet poor.
So after figuring out that I needed to create the ssh keys inside the homeassistant container. This needed root ssh into HAOS which needed ssh keys that the documentations for is outdated as it points to an updated putty help page which creates SSH2 keys rather than openSSH keys.
anyway finally managed to get it working
but realised that every time HA gets an update I will have to regenerate the SSH keys in the homeassistant container which is a pain.
I can try and build a script via shell_command integration but for a “native integration” thought maybe someone had it figured out already
so does anyone know how to make SSH keys persist after HA updates ?
Thanks in advance
Feel free to suggest or make improvements using the links at the bottom of the page.
The documentation relies heavily on community support.
Hi, I have the exact same issue.
Could anyone help with this please ?
Is there a path to add to the ssh-keygen -t rsa
command so that keys can be persistent through updates ?
@Mahmoud-Eid or @tom_l : can I suggest you rename the this post to “persistent ssh keys in homeassistant container on HAOS”,or something like that ?
It would be more descriptive of the issue.
Thanks.
Can I suggest you create your own thread instead of replying to a 2 year old one and tagging people unnecessary?
Using this addon Advanced SSH and web terminal GitHub - hassio-addons/addon-ssh: Advanced SSH & Web Terminal - Home Assistant Community Add-ons it creates persistant SSH keys
Thanks for taking the time to answer.
I use this addon, but didn’t know it could do that… will check that.