Skip to main content

CLI for managing SSH connections using JSON configuration

Project description

sshbox

sshbox screenshot

Install:

pipx install sshbox

How To Use

  • sshbox - connect to a host
  • sshbox add - Add a new group or host to the configuration
  • sshbox edit - Edit a group or host in the configuration
  • sshbox remove - Remove a group or host from the configuration

Config File

  • Config file sshbox.json will be created in ~/.ssh/sshbox.json when you first run the app
    • To override this behavior, set the SSHBOX_CONFIG_FILE environment variable to the path of your file.

    • A generic config file will be created when you first run the app

    • Example Linux: export SSHBOX_CONFIG_FILE='/your/preferred/path/file_name.json'

    • Example Windows: SETX SSHBOX_CONFIG_FILE C:\your\preferred\path\file_name.json /M (restart terminal after setting)

    • You can change the colors of text in the table by setting values in table_colors.

Template Config File For Reference

This will be generated when you run the app for the first time without an existing config file

{
  "app_settings": {
    "table_colors": {
      "selection_number": "cyan",
      "hostname": "yellow",
      "group": "green"
    }
  },
  "Development": {
    "web-host": {
      "hostname": "dev.example.com",
      "username": "devuser",
      "port": 22
    },
    "database": {
      "hostname": "db.dev.example.com",
      "username": "dbadmin",
      "port": 22
    }
  },
  "Production": {
    "web-host-1": {
      "hostname": "web1.example.com",
      "username": "produser",
      "port": 22
    },
    "web-host-2": {
      "hostname": "web2.example.com",
      "username": "produser",
      "port": 22
    },
    "database": {
      "hostname": "db.example.com",
      "username": "dbadmin",
      "port": 22
    }
  }
}

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

sshbox-0.7.2.tar.gz (25.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sshbox-0.7.2-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file sshbox-0.7.2.tar.gz.

File metadata

  • Download URL: sshbox-0.7.2.tar.gz
  • Upload date:
  • Size: 25.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for sshbox-0.7.2.tar.gz
Algorithm Hash digest
SHA256 17022961d11857ffae45dda07fef9ab7abd873fa080cae30ecd2da3837468a9f
MD5 15f0a0cc21c8ac1546bd8618cd81bf08
BLAKE2b-256 3cd2c0650b129b176dbbabdde0a796c60d398609f2ad7fc918ad056d72d42720

See more details on using hashes here.

Provenance

The following attestation bundles were made for sshbox-0.7.2.tar.gz:

Publisher: python-publish.yml on kwilt/sshbox

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sshbox-0.7.2-py3-none-any.whl.

File metadata

  • Download URL: sshbox-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for sshbox-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f9e7b6f88ab83301ab9eb3233f2bf019430cc648605a322f3df698ff15aee54d
MD5 7d1c5a5fad05b2c921b0ea145008f7f5
BLAKE2b-256 cd94c173b5587bc03f09d421016c822805ea98d1d7a99008f19fc01af3f1d4eb

See more details on using hashes here.

Provenance

The following attestation bundles were made for sshbox-0.7.2-py3-none-any.whl:

Publisher: python-publish.yml on kwilt/sshbox

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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