How to enable SSH for an Edge Device

Introduction

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

Procedure

  1. Check if you have an SSH key.
    • cat ~/.ssh/id_rsa.pub
      • If the output is blank, create a public key.
        • ssh-keygen
  2. Copy the output of the cat command
  3. Run a 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_NAME> --config=debug.enable.ssh:"<YOUR_PUBLIC_KEY_>"

 

 

Was this article helpful?
0 out of 0 found this helpful