abuccts / goruc-cli

command line interface for go.ruc.edu.cn login/logout

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GORUC CLI

Build Status Code Climate GitHub version GPLv3 licensed

Command line interface for go.ruc.edu.cn login/logout

Introduction

Goruc-cli is used to login/logout ruc gateway in command line interface. If you meet the following situations:

  • Need to connect to Internet in a linux server without GUI in ruc
  • Your computer in the lab is offline and you don't want to/can't go to the lab to login
  • You want your computer to login or logout automatically in a script

then you can use goruc-cli to login/logout ruc gateway.

Note: If you're not in ruc campus, you need to ssh to another computer which has Internet access in ruc first, then ssh to your target from there.

Issues

Installation

$ git clone https://github.com/abuccts/goruc-cli.git
$ cd goruc-cli
$ chmod u+x goruc
$ sudo ln -s "$(pwd)"/goruc /usr/local/bin

Usage

Command Description
goruc -i login
goruc -o logout
goruc -h help

About

command line interface for go.ruc.edu.cn login/logout

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%