Skip to content
This repository has been archived by the owner on Mar 27, 2020. It is now read-only.

bsakdol/legacy-jumpbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published