Dashboard SSH Keys

The following tutorial will serve to instruct the user on where and how to store SSH keys on the VM Squared Glasshouse dashboard to manage the dashboard instance itself via SSH. This will allow the user to manage the cluster via the CLI and SSH from the dashboard into the hosts.

This SSH session is not used to access VMs on the system, this is only for dashboard access. To access VMs via SSH see SSH keys.

Cloud Management WebUI

Using the VM Squared Administrator credentials, the Cloud Management WebGUI can be accessed via web browser at: https://<dashboard_ip>/cloudmanagement/, which is a bare bones management interface of the cluster which allows the user to modify a select few cluster configuration attributes.

Cloud Management Web UI

As seen at the bottom of the page, there is a field that will store each key in a single line, and new authorized public keys can be added and saved by pressing Update Cluster Configuration button on the left side of the screen.

Advanced - Cluster-Control Facts

Updating Cluster Control Facts can lead to unexpected problems in your VM Squared installation! Take care when making changes and use the UI instead if you are not sure.

The Cluster-Control Facts directory houses information vital for the system’s nodes to communicate with one another; as well as, a few items to help the user navigate the infrastructure; one of which is the cluster dashboard’s authorized_keys file. This is the file that stores these values, and is read by the Cloud Management WebGUI referenced above and it resides at: /var/run/cluster-control/facts/authorized_keys.

After starting an SSH session into the Dashboard, open the file with VI and edit the contents to include the required SSH keys, or simply append to the end of the file with echo <ssh_key> >> /var/run/cluster-control/facts/authorized_keys.