I’m trying to remotely deploy the ioFog Agent (v2) from a virtual Linux Box, where the Controller runs, to a Raspberry Pi on the same Network. SSH Login from the Linux Shell to the Raspberry Pi with the same Keyfile I’m using in my agent.yaml works fine, there is no Password used in the Key File.
When I issue this on the virtual Linux Box:
iofogctl deploy -f /tmp/agent.yaml
I get an Error “Error during SSH Session”
Looks like the ioFog Controller on the Linux Box isn’t permitting access for the ioFog Agent on the Rapberry Pi. What am I missing?
The Agent “raspi-1” listed in the screenshot is the one I was trying to provision.
I’ve followed the steps in the “Prepare Remote Hosts” Section of the Manual. The Remote User in my agent.yaml File is in the sudoers Group on the PI, and I’ve changed the sudoer file so that sudoers may issue commands without a Password. SSH Login to the Pi without Password also works from the Terminal on the Linux Box.