Hello,
following situation:
root@OpenWrt:~# ssh -i /usr/keys/remote.key root@remote
Connection to root@remote is done and key get added to known_hosts
Doing the same in a script located in /etc/hotplug.d/
is asking me to add the key because it's not known.
Both are executed by root, check with a simple whoami
in the script.
Any idea why this get asked in the script executed by OpenWRT (executed as root)?