DHC

Table of Contents:

1) Installation
2) Getting Started
3) Usage

(1) Installation:

[1.1] DHC:

  1. Extract the tarball.
  2. It’s that easy. :D

[1.2] Node:

  1. Setup and install sshd on each node you wish to administer.
  2. (Optional) Setup key-based authentication on each node.

(2) Getting Started:

[2.1] Configuration File:

**NOTE** Remove comments before using. **NOTE**

[Window]
numNode = 2 #Number of Nodes you'll be connecting to
height = 400 #Height of the window
width = 400 #Width of the window
refresh = 5 #Time between node connectivity checks (in seconds)

[Node1]
name = A #Nickname of node (recommended to be 1-3 characters)
user = michael #username you'll be using to connect to the node
ip = ip.on.network #IP of node
port = 22 #Port that SSH runs on
x = 0 #X-coordinate of the node in the window (width of the button is 50px)
y = 0 #Y-coordinate of the node in the window (height of the button is 75px)

[Node2]
name = B
user = root
ip = remote.server
port = 1337
x = 50
y = 0

**NOTE** Remove comments before using. **NOTE**

[2.2] What it looks like

DHC - Sample Config
(3) Usage

  • python dhc.py /path/to/config.cfg

Comments are closed.