Public | Automated Build

Last pushed: 8 months ago
Short Description
SSH Communication Proof-of-Concept
Full Description

SSH Communication Proof of Concept

Dependencies

Instructions

All the commands needed to build and test the demonstrator network are included in the Makefile.

To get everything set up quickly use make all which performs the following steps (each step can be run on its own for a more detailed view):

  1. make nodes: Creates the nodes using the kgoutsos/ssh-poc Docker image and configures the appropriate networking between them. Every node is based on the same exact image (a simple Ubuntu installation) and the only difference between the nodes are the SSH keys generated in the next step.
  2. make keys: Generates the appropriate SSH keys and copies the public keys between the appropriate nodes.
  3. make links: Sets up link level SSH connections between the nodes through the Router.
  4. make test-links: Runs a simple web server on Node3 and queries it from Nodes 1 and 2 in order to demonstrate the link capability.

Extra commands

  • make build: Builds a base Docker image for the nodes, based on the configuration of the Dockerfile. This is useful in case there are local changes in the Dockerfile that have not been pushed to Docker Hub.
  • make destroy: Removes all nodes and networks created by make nodes.
  • make netinfo: Print network information from the nodes.
Docker Pull Command
Owner
kgoutsos
Source Repository