Skip to content

Command Line Interface that manages SSH sessions

Notifications You must be signed in to change notification settings

auth-xyz/sshman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSH Session Manager

A simple CLI tool to manage and connect to SSH clients.

Prerequisites:

install with instl.sh install count

Building from source

# Cloning repository
git clone https://github.com/auth-xyz/sshman
cd sshman
# Installing dependencies
poetry install #using poetry
pip install toml paramiko httpx beautifulsoup4 #using pip

poetry run python build.py # Actually building

Installation (Linux)

# Easy way
curl -sSL instl.sh/auth-xyz/sshman/linux | bash

# Manual way:
# Download the latest binary from the release page
tar xfz linux-<version>.tar.gz
mv sshman $HOME/.local/bin/

sudo ln -sf $HOME/.local/bin/sshman /usr/bin/  

General Usage

# Generating session
sshman -gs
sshman --generate-session

# Removing a generated session
sshman -rs <session>
sshman --remove-session <session>

# Connecting to a session
sshman -c <session> 
sshman --connect <session> 

# Other helpful commands that are self-explained
sshman -ls / --list-sessions 
sshman -u / --update
sshman -v / --version
sshman -i / --info <session>
If you'd like to contribute, feel free to do so!