Skip to main content

A helper for ssh operate in terminal

Project description

Simple Tabby

A hepler tool to manage many remote ssh server.

when you open a native terminal on unix system , stabby can list all remote ssh server that you have configed as a pretty table. Then you can choose one to login.

You will get more infomation about every remote ssh server depend on what's your describe for the server

Why

I just need a gadget for my work . In my work, i need to manage many remote server machines that deployed some application, such as java application,mysql and so on. when i decided to connect some machines, I spend a lot of time checking which applications are deployed on each server it's making me miserable. Tabby has wonderful Profiles & connections feature, but there no space to remark more information for every machine or connection. I still need another document to manage information that can not hold with Tabby.

Install

pip install stabby

Usage

add your first remote server config

run command stabby add , follow promotes input server configuration , like below:

usage: stabby add [-h] -s S -p P [-port PORT] [-u U] [-n N]                                                    
                                                                                                        
optional arguments:                                                                                            
  -h, --help  show this help message and exit                                                                  
  -s S        remote server host                                                                               
  -p P        remote server password                                                                           
  -port PORT  remote server ssh port                                                                           
  -u U        remote server user name                                                                          
  -n N        remote server name   

example :

stabby add -s 192.168.1.253 -p password123 -n dev

connect to remote server

run command stabby ,you can see as below:

image

you can select one remote server that you have added to connect by KEY_UPKEY_DOWN or KEY_LEFTKEY_RIGHT

as you also can open ssh tunnue with -t command arg ,for example:

# stabby -t localport:remoteport
stabby -t 6041:5041

How does it work

It's so easy. Default , stabby(simple_tabby) loads config file under $USER_HOME/.simple_tabby/default.json, file content like below:

[
  {
    "title": "title for remote server",
    "host": "remote server ip or host",
    "port": 22,
    "user": "remote user ,default is root",
    "password": "remote password",
  }
]

when stabby is running, it loads file as json objects,let user can see all server

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stabby-1.0.3.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

stabby-1.0.3-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file stabby-1.0.3.tar.gz.

File metadata

  • Download URL: stabby-1.0.3.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for stabby-1.0.3.tar.gz
Algorithm Hash digest
SHA256 a06e448f3662afc8795eaf08baec449f170352dbe80d63b58948a01606aa3655
MD5 326747f85cf22591274b9e9cbcb34fa1
BLAKE2b-256 78b185fdf343edd2a61576a40159c3e5ea2f9287ba1eaf8f9f81224f44dcb80d

See more details on using hashes here.

File details

Details for the file stabby-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: stabby-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for stabby-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 378b3fd29798666161ba054291e24f489e5760e4512f2d96af7555add2bd6184
MD5 152a0123dd77137b2f13e28129c37a36
BLAKE2b-256 0570c506e980d68e93a7f3ac0b7816d627608972ad3db89026d35dae0abe9d1a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page