Closed Seexelas closed 4 years ago
The answer lies in the error; /bin/sh: ssh: not found
means that there’s no command installed called “ssh”. You’ll have to read up on how to use SSH within your docket container on Synology as I have no experience running things on Synology.
Ok thank you for your answer, i was missing openssh client, i will test, Thanks a lot
Backstory
I did the setup of my Mac Mini in the WOL plugin.
Issue
The Mac is recognize as online or offline, but when i try to start or shutdown, i have an error,
Environment
Configuration
My configuration looks like this: { "accessory": "NetworkDevice", "name": "Galaxy-iMac", "mac": "mac-address", "ip": "192.168.1.5", "pingInterval": 45, "wakeGraceTime": 10, "wakeCommand": "ssh 192.168.1.5 caffeinate -u -t 300", "shutdownGraceTime": 15, "shutdownCommand": "ssh 192.168.1.5 sudo shutdown -h now", "plugin_map": { "plugin_name": "homebridge-wol", "index": 0 }
IMPORTANT! Remove any mac addresses from the configuration by exchanging them with
[Galaxy-iMac] An error occured while trying to wake "Galaxy-iMac" (192.168.1.5): Error: Command failed: ssh 192.168.1.5 caffeinate -u -t 300 /bin/sh: ssh: not found
{ killed: false, code: 127, signal: null, cmd: 'ssh 192.168.1.5 caffeinate -u -t 300', stdout: '', stderr: '/bin/sh: ssh: not found\n'