srs
is a small command line tool for connecting to Swinburne University's Smart Rack Solution which automates the the kit selection and booking, connection via ssh
and powering off and release of devices.
In order to connect to Smart Rack you are required to be connected to the Swinburne VPN. For all operating systems it's recommended to use OpenConnect (an open source client for Cisco's AnyConnect SSL VPN).
It is packaged in most Linux distros (as a CLI tool and in NetworkManager upstream), as a package in MacPorts and Homebrew for macOS and as a client on Windows.
sshpass
sshpass
has been packaged on most Linux distros.
sshpass
On MacPorts, sshpass
has been packaged in the offical repo.
On Homebrew sshpass
is not in the official repo. However a Homebrew Tap exists, the source of which is here. This can be installed by running brew install hudochenkov/sshpass/sshpass
.
putty
It's also recommended to use the official Windows Terminal over the pre-installed Command Prompt.
Run by extracting and executing the binary named srs
from the latest release archive for your system.
A kit will be randomly selected from those not in use. For each router or switch you would like to connect to, start a seperate process.
Note: Answering y
to the prompt to shutdown and release will effect ALL routers and switches booked.
To close the ssh
session, type Ctrl+]
followed by quit
.
To disable inline log messages, enter no logging console
in configure terminal
mode.