Metadata-Version: 2.0
Name: ssh-menu
Version: 1.4.0
Summary: A very simple interactive ssh profile menu
Home-page: https://github.com/antonjah/ssh-menu
Author: Anton Andersson
Author-email: contact@antonandersson.se
License: UNKNOWN
Download-URL: https://github.com/antonjah/ssh-menu
Keywords: ssh menu interactive
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 2.7
Description-Content-Type: text/markdown
Requires-Dist: bullet

[![](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

* [sshconf](https://pypi.org/project/sshconf/)
* [console-menu](https://pypi.org/project/console-menu/)


