As soon as I try I’ll let you all know. Thank very very much you for your help and patience!!!
Edit:
I copied id_rsa.pub into a newly created config folder in / so that I could imitate your configuration.
I created the shell_command with proper modification and a small correction, there’s a ’ missing after …=no. At first gave me syntax error.
But even though I corrected the insignificant error, I get:
stdout: ""
stderr: "Warning: Identity file /config/sshkeys/id_rsa.pub not accessible: No such file or directory.\nPseudo-terminal will not be allocated because stdin is not a terminal.\r\nPermission denied, please try again.\r\nPermission denied, please try again.\r\nReceived disconnect from 192.168.1.224 port 9222:2: Too many authentication failures\r\nDisconnected from 192.168.1.224 port 9222"
returncode: 255
I’m sure id_rsa.pub is there. I thought of another syntax error, but adding and removing / randomly didn’t help.
In my dumb opinion I may think there’s a syntax error, but there are so many things that can go wrong…
Edit 2:
I repeated the procedure to create ssh key straightly in HA ssh integration and copy it to NAS.
Everything went fine, ssh login to NAS happens without asking for password on HA cli, but shell_command still doesn’t work.
I still get:
stdout: ""
stderr: "Warning: Identity file /root/.ssh/id_ed25519.pub not accessible: No such file or directory.\nPseudo-terminal will not be allocated because stdin is not a terminal.\r\nPermission denied, please try again.\r\nPermission denied, please try again.\r\nReceived disconnect from 192.168.1.224 port 9222:2: Too many authentication failures\r\nDisconnected from 192.168.1.224 port 9222"
returncode: 255
As said, others had tried to achieve this result through ssh, but it seems noone succeded. I posted that ssh couldn’t be used because of that, but many of you stated it was possible since logs. Are you still sure this is possible?
I’m stuck again and, as you might see, my attempts are ruled by search engines and casualty so sorry for bothering you with questions you almost surely find annoying, but would you help me finish the job?
Otherwise the request for one integration among “Terramaster”, “adjustable SNMP server” or a “control over USB system” was not wrong in the end. I’ll probably repost the request in this case, I’ll work on the title first.
Thanks again and again