WOL suspend via ssh key failing

Begonnen von cmillsy, 01 November 2014, 17:37:57

Vorheriges Thema - Nächstes Thema


I've got the WOL wake up working fine but i'm trying to suspend my NAS using the shutdownCmd

"ssh ****@ 'sudo /usr/sbin/pm-suspend'"

I keep getting 'host key verification failed'. Keys are ok as it works ok if run the command directly from a terminal on my Fhem server box (Rpi) but i get the error when trying to run using fhem. I've also tried putting the command in a script and running the script from Fhem but i get the same error.

Thanks for any help


Is FHEM running as a different user. Have you su'ed to user fhem to test the key exchange?

Sent from my iPhone using Tapatalk