Hi, i have silly problem…
I need one simple thing: .BAT file on Windows to remotelly shutdown trueNAS server. Without login. Just “click and forget”.
To do this, i need working SSH, but it keeps asking me for password.
I don’t want enter password, I just want to “click and forget”.
So I setup id_rsa keys… but it still asks me for password.
I found I need to change in sshd_config. I added: PubkeyAuthentication yes
but file keep reverting to original after each restart.
So I added “auxiliary parameter” in SSH service. “PubkeyAuthentication yes”.
Saved. Restarted service. Rebooted.
And it still wants me to enter password.