How to enable SSH for an Edge Device


This article describes how to enable an edge node for SSH access.



  • Ensure that Docker application is running.
  • Ensure you have the necessary permissions and credentials to authenticate against your enterprise.



  1. Check if you have an SSH key.
    • cat ~/.ssh/
      • If the output is blank, create a public key.
        • ssh-keygen
  2. Copy the output of the "cat" command.
  3. Run the ZCLI container.
    • docker run -it -v $PWD:/root zededa/zcli:latest
  4. Enable SSH access by pushing the SSH key to the device.
    • zcli edge-node update <EDGE_NODE> --config=debug.enable.ssh:"<YOUR_PUBLIC_KEY>"
  5. Connect to the device via SSH using the corresponding private key:

    • ssh -i <YOUR_PRIVATE_KEY_PATH> root@<DEVICE_IP>


Additional information

To disable SSH access, simply run:

zcli edge-node update <EDGE_NODE> --config=debug.enable.ssh:""
Was this article helpful?
2 out of 2 found this helpful