conServers.sh
Intro
This is script list all server from html page with table () and automatc coonect in selected server.
Requirements
- Linux or MacOSX
- Ruby with bundle (gem install bundle)
- SSH RSA Key to connect on Server
- HTML Page with table (Company | Hostname or ip Address| user| port | alias )
How to Instal
cd ~/
wget https://github.com/brfso/conServers/archive/master.zip
unzip conServers-master.zip
cd $PWD/conServers-master/
./install.sh
MAC OSX Users
For Mac users, follow the steps bellow:
brew install zenity
brew install wget
Notes: Mac Users can install wget using this is how to: http://osxdaily.com/2012/05/22/install-wget-mac-os-x/
Linux Users
Notes: If you have some problem installing nokogiri, please execute the following command:
sudo apt-get install libgmp-dev
sudo apt-get install ruby zenity ruby-dev
sudo apt-get install zlib1g-dev
sudo apt-get install bundler
How to Use
- Set SSH Key in SSH_KEY in /etc/conservers.config
- Change Page to connect (url) in /etc/conservers.config
- Execute conServers.sh
$ conservers.sh
To Update Server List
To update server list from html page, execute with option -u
or --update
$ conserver.sh --update
Help and Troubleshoot
For help, usage:
$ conserver.sh -h
Usage: conserver [OPTIONS]
conServer
Options:
-u, --update Update Server List
-gui, --gui-mode Use GUI Mode
-h, --help Displays usage info
For troubleshoot use:
$ bash -x conserver.sh [option]
toDO
To view or report bug, request new features, use: https://github.com/brfso/conServers/issues