Skip to main content

A very simple interactive ssh profile menu

Project description

[![](https://img.shields.io/docker/pulls/antonjah/ssh-menu.svg)](https://microbadger.com/images/antonjah/ssh-menu “”) [![](https://images.microbadger.com/badges/image/antonjah/ssh-menu.svg)](https://microbadger.com/images/antonjah/ssh-menu “”) [![](https://images.microbadger.com/badges/version/antonjah/ssh-menu.svg)](https://microbadger.com/images/antonjah/ssh-menu “”)

# <img src=”https://cdn.iconscout.com/icon/free/png-256/list-bullets-menu-format-formatting-items-6-3298.png” height=”30” width=”30”> ssh-menu

ssh-menu is a very simple terminal tool that reads your ssh-config and renders an interactive menu with your ssh profiles listed

## Installation

Install:

`bash $ sudo pip install ssh-menu `

Uninstall:

`bash $ sudo pip uninstall ssh-menu `

Note: ssh-menu depends on a config file located in your user-home/.ssh folder You can find examples [here](https://www.ssh.com/ssh/config/)

## Alias

You can alias ssh-menu to make it easier to use

Bash: `bash $ echo 'alias ssm="ssh-menu"' >> ~/.bashrc $ source ~/.bashrc `

Zsh: `bash $ echo 'alias ssm="ssh-menu"' >> ~/.zshrc $ source ~/.zshrc `

Now you can just enter ssm to open ssh-menu

## Docker

Running in docker (why? I don’t know):

`bash docker run -it -v $PWD/config:/root/.ssh/config antonjah/ssh-menu `

## Todo

  • Enable adding profiles

  • Custom profile location

  • Handle output even if session dies unexpectedly

### Dependencies

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

ssh-menu-1.4.0.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distributions

ssh_menu-1.4.0-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

ssh_menu-1.4.0-py2-none-any.whl (5.6 kB view hashes)

Uploaded Python 2

Supported by

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