Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 990 Bytes

README.md

File metadata and controls

47 lines (36 loc) · 990 Bytes

cr-client: A Cyberoam BASH Client

A simple Cyberoam Client in BASH to easen up login/logout activities under Linux

Requirements

  • BASH
  • curl

Installation

git clone cd

Configuration

The default config file is "config", under the same directory. Each line of config specifies a config option. Following are possible configuration options

# Specify Cyberoam Server

server https://172.16.1.1:8090

# Specify a Profile (Profile name should be anything other than "server")

myID be12342045 pass123

You can also configure few other script parameters by checking out the initial lines of the script itself

Usage

Login with "profile" as specified in the config

cr-client login <profile>

Login with "username" and "password"

cr-client login <username> <password>

Logout current session

cr-client logout

Usage

cr-client -h

cr-client --help