CLI for managing SSH connections using JSON configuration
Project description
sshbox
Install:
pipx install sshbox
How To Use
sshbox- connect to a hostsshbox add- Add a new group or host to the configurationsshbox edit- Edit a group or host in the configurationsshbox remove- Remove a group or host from the configuration
Config File
- Config file
sshbox.jsonwill be created in~/.ssh/sshbox.jsonwhen you first run the app-
To override this behavior, set the
SSHBOX_CONFIG_FILEenvironment 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.- Valid color names are here: https://rich.readthedocs.io/en/stable/appendix/colors.html
-
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17022961d11857ffae45dda07fef9ab7abd873fa080cae30ecd2da3837468a9f
|
|
| MD5 |
15f0a0cc21c8ac1546bd8618cd81bf08
|
|
| BLAKE2b-256 |
3cd2c0650b129b176dbbabdde0a796c60d398609f2ad7fc918ad056d72d42720
|
Provenance
The following attestation bundles were made for sshbox-0.7.2.tar.gz:
Publisher:
python-publish.yml on kwilt/sshbox
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sshbox-0.7.2.tar.gz -
Subject digest:
17022961d11857ffae45dda07fef9ab7abd873fa080cae30ecd2da3837468a9f - Sigstore transparency entry: 179233862
- Sigstore integration time:
-
Permalink:
kwilt/sshbox@25b891d89a5ecc1149cba6e45fa7c38de33ce6b6 -
Branch / Tag:
refs/tags/0.7.2 - Owner: https://github.com/kwilt
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@25b891d89a5ecc1149cba6e45fa7c38de33ce6b6 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9e7b6f88ab83301ab9eb3233f2bf019430cc648605a322f3df698ff15aee54d
|
|
| MD5 |
7d1c5a5fad05b2c921b0ea145008f7f5
|
|
| BLAKE2b-256 |
cd94c173b5587bc03f09d421016c822805ea98d1d7a99008f19fc01af3f1d4eb
|
Provenance
The following attestation bundles were made for sshbox-0.7.2-py3-none-any.whl:
Publisher:
python-publish.yml on kwilt/sshbox
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sshbox-0.7.2-py3-none-any.whl -
Subject digest:
f9e7b6f88ab83301ab9eb3233f2bf019430cc648605a322f3df698ff15aee54d - Sigstore transparency entry: 179233863
- Sigstore integration time:
-
Permalink:
kwilt/sshbox@25b891d89a5ecc1149cba6e45fa7c38de33ce6b6 -
Branch / Tag:
refs/tags/0.7.2 - Owner: https://github.com/kwilt
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@25b891d89a5ecc1149cba6e45fa7c38de33ce6b6 -
Trigger Event:
release
-
Statement type: