Hi, since the port of SMB-common was kind of difficult for a linux Newbie this is what finally worked for me:
- Installed on my Windows Nas this software Bitvise: SSH software for Windows which is a reliable SSH server for windows since Open SSH didn't work either.
- created a user on bitvise SSH and imported the Public Key previously created in LE.
- in order to add the Host to the trusted Host file on LE I connect to LE via Putty (SSH) then from LE did an ssh [email protected]. it will ask to add the host and the ssh is done using Pub key previously added.
- since it worked without asking password I then added the full command on my shutdown.sh script: ssh [email protected] shutdown /s /f
- Done, LE shutdown and NAS shutdown.
Thanks to all for your help and point me in the right direction.
Cheers