bsakdol / legacy-jumpbox

Terminal based menu for connecting to network devices via SSH

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Jumpbox

Jumpbox is a simple command line based interface that allows centralized management of Telnet/SSH device access. Currently, it is designed to work with Netbox to build a list of devices having a management IP address assigned to them.

Release License Master Build Development Build
Release License Master Build Development Build

###Installation Install Required Packages:

  # apt-get install -y git python2.7 python-dev python-pip libpq-dev

Install Jumpbox libraries:

    # mkdir -p /opt/jumpbox/ && cd /opt/jumpbox/
    # git clone -b master https://github.com/bradical987/jumpbox.git .

Install Python requirements:

    # cd /opt/jumpbox
    # sudo pip install -r requirements.txt

Update the PSQL connection parameters in jumpbox/database.py

	# cp /opt/jumpbox/jumpbox/database.example.py /opt/jumpbox/jumpbox/database.py

Change username and 127.0.0.1 to be the username and IP address of your PSQL host

	# Line 65
	conn = psycopg2.connect("user = 'username' host = '127.0.0.1'")

Create Jumpbox User:

    # useradd -m -s /opt/jumpbox/jumpbox/main.py jumpbox
    # passwd jumpbox

###Run Jumpbox SSH to the Jumpbox server, logging in the with credentials for the jumpbox user.

About

Terminal based menu for connecting to network devices via SSH

License:MIT License


Languages

Language:Python 91.9%Language:Shell 8.1%