/sshm

Simple ssh menu

Primary LanguagePythonMIT LicenseMIT

sshm

donate PyPI version release license

A simple wiptail based ssh menu.

Features

  • Filter the hosts
  • Simple usage

Requirements

  • Python >= 3.6

Installation

pip (recommended)

  1. Install sshm: python3 -m pip install sshm
  2. Start the program: sshm

Upgrade: python3 -m pip install --upgrade sshm

whl / release

  1. Download the latest release
  2. Install the wheel-file: python3 -m pip install sshm-X.X-py3-none-any.whl
  3. Start the program: sshm

Upgrade: Simply install a newer release

git

  1. Clone this repo
  2. Install the requirements by running python3 -m pip install -r requirements.txt
  3. Start the program:./sshm --help

Upgrade: git pull

Usage

By running sshm without any arguments to get a menu with all hosts defined in your ~/.ssh/config.

sshm

Filter

You can filter the hosts by adding a string as first argument. The string will be used as a wildcard filter.

sshm cloud

Custom config

By default sshm will load the ssh config from ~/.ssh/config. You can change this by setting the environment variable SSHM_CONFIG_PATH.

SSHM_CONFIG_PATH=/opt/my_ssh_config sshm cloud

Credits

Created and maintained by Lukas Schulte-Tickmann / Schluggi.