FHEM Forum

FHEM => English Corner => Thema gestartet von: cmillsy am 01 November 2014, 17:37:57

Titel: WOL suspend via ssh key failing
Beitrag von: cmillsy am 01 November 2014, 17:37:57
Hi,
I've got the WOL wake up working fine but i'm trying to suspend my NAS using the shutdownCmd

"ssh ****@192.168.0.2 '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
Titel: Antw:WOL suspend via ssh key failing
Beitrag von: andyclimb am 02 Dezember 2014, 03:27:58
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