Skip to content
/ sshh Public

ssh-helper is a cli tool to manage ssh access to your fleet of machines.

License

Notifications You must be signed in to change notification settings

xgaia/sshh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sshh: ssh-helper

ssh-helper is a cli tool to manage ssh access to your fleet of machines.

Installation

# Clone repo
git clone https://github.com/xgaia/ssh-helper.git
cd ssh-helper
# Install
pip install -e .

Usage

Get the help

sshh --help

Add some machines

sshh add pi -a [email protected] -p 2222 -g personal
sshh add skynet -a [email protected] -g work/prod
sshh add backup -a [email protected]  -p 2223 -g work/backup

List available machines

sshh list
Name           Group                    ssh                                Port
-------------------------------------------------------------------------------
pi             personal                 [email protected]         2222
backup         work/backup              [email protected]                   2223
skynet         work/prod                [email protected]                   22

List machines on a specific group

sshh list -g work
Name           Group                    ssh                                Port
-------------------------------------------------------------------------------
backup         work/backup              [email protected]                   2223
skynet         work/prod                [email protected]                   22

List machines on a specific group and subgroup

sshh list -g work/prod
Name           Group                    ssh                                Port
-------------------------------------------------------------------------------
skynet         work/prod                [email protected]                   22

Connect to a machine

sshh ssh skynet

Connect to a machine using root user

# connect to a machine with root user
sshh ssh skynet --root

About

ssh-helper is a cli tool to manage ssh access to your fleet of machines.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages