Skip to content

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

License

Notifications You must be signed in to change notification settings

abuccts/goruc-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages