{"id":18596045,"url":"https://github.com/losuler/smart-rack-cli","last_synced_at":"2025-11-02T05:30:35.651Z","repository":{"id":133523716,"uuid":"300356651","full_name":"losuler/smart-rack-cli","owner":"losuler","description":"A command line tool to connect to Swinburne's Smart Rack Solution.","archived":false,"fork":false,"pushed_at":"2020-10-11T02:57:28.000Z","size":76,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T22:07:07.156Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/losuler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-01T17:01:18.000Z","updated_at":"2023-05-24T07:08:22.000Z","dependencies_parsed_at":"2023-07-10T01:51:17.478Z","dependency_job_id":null,"html_url":"https://github.com/losuler/smart-rack-cli","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/losuler%2Fsmart-rack-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/losuler%2Fsmart-rack-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/losuler%2Fsmart-rack-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/losuler%2Fsmart-rack-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/losuler","download_url":"https://codeload.github.com/losuler/smart-rack-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239379324,"owners_count":19628684,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T01:22:54.011Z","updated_at":"2025-02-17T23:09:44.956Z","avatar_url":"https://github.com/losuler.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003cp align=\"center\"\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ch3 align=\"center\"\u003eSmart Rack CLI\u003c/h3\u003e\n    \u003cp align=\"center\"\u003e\n      A command line tool to connect to Swinburne's Smart Rack Solution.\n    \u003c/p\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\u003cimg src=\"img/preview.gif\"/\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\n`srs` is a small command line tool for connecting to Swinburne University's [Smart Rack Solution](https://smartrack.ict.swin.edu.au/) which automates the the kit selection and booking, connection via `ssh` and powering off and release of devices.\n\n## Requires\n\nIn 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).\n\nIt is packaged in [most](https://repology.org/project/openconnect/versions) Linux distros (as a CLI tool and in NetworkManager upstream), as [a package](https://ports.macports.org/port/openconnect/summary) in MacPorts and [Homebrew](https://formulae.brew.sh/formula/openconnect) for macOS and as a [client](https://openconnect.github.io/openconnect-gui/) on Windows.\n\n### Linux\n\n```\nsshpass\n```\n\n`sshpass` has been packaged on [most](https://repology.org/project/sshpass/versions) Linux distros.\n\n### macOS\n\n```\nsshpass\n```\n\nOn MacPorts, `sshpass` has been [packaged](https://ports.macports.org/port/sshpass/summary) in the offical repo.\n\nOn Homebrew `sshpass` [is not](https://github.com/Homebrew/brew/commit/04dfdd972c7fca25e86e9e2ff7767b9f5b789f20) in the official repo. However a Homebrew [Tap](https://docs.brew.sh/Taps) exists, the source of which is [here](https://github.com/hudochenkov/homebrew-sshpass/blob/master/sshpass.rb). This can be installed by running `brew install hudochenkov/sshpass/sshpass`.\n\n### Windows\n\n```\nputty\n```\n\nIt's also recommended to use the official [Windows Terminal](https://github.com/microsoft/terminal) over the pre-installed Command Prompt.\n\n## Usage\n\nRun by extracting and executing the binary named `srs` from the [latest release](https://github.com/losuler/smart-rack-cli/releases/latest) archive for your system.\n\nA 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.\n\n**Note:** Answering `y` to the prompt to shutdown and release will effect ALL routers and switches booked.\n\n## Cisco\n\nTo close the `ssh` session, type `Ctrl+]` followed by `quit`.\n\nTo disable inline log messages, enter `no logging console` in `configure terminal` mode.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flosuler%2Fsmart-rack-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flosuler%2Fsmart-rack-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flosuler%2Fsmart-rack-cli/lists"}