homebridge-ssh
homebridge-ssh copied to clipboard
[Question] How to pass ssh key to this plugin?
Can someone help me with instruction how to use this plugin?
Did the instructions work? Show your work.
@jnovack No I didn't find any instruction, but I don't think this plugin supports ppk/pem keys
there is an example configuration in the npm project page (https://www.npmjs.com/package/homebridge-ssh). It supports public key authentication (https://github.com/zb0th/homebridge-ssh/issues/2)
More specifically, this plugin depends on https://www.npmjs.com/package/ssh-exec ...so you can pass in the ssh section whatever params ssh-exec supports.
Tested with key and working. #close
Can you give me some heads-up if I want to set up something like this:
-
I say: "Siri, turn off motion detection"
-
Homebridge will ssh into another linux machine and execute this script
echo -n 'md 0' > /var/www/html/cam-01/FIFO
-
Siri response with some customized strings
I'm not sure how the config file works, does it only allow "on" or "off" states?