Skip to main content

A very simple interactive ssh profile menu

Project description

sshmenu

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

Installation

Requires:

  • python3
  • pip

Install:

$ sudo pip install ssh-menu

Uninstall:

$ sudo pip uninstall ssh-menu

Note: sshmenu depends on a config file located in your user-home/.ssh folder
You can find examples here

Alias

You can alias sshmenu to make it easier to use

Bash:

$ echo 'alias ssm="sshmenu"' >> ~/.bashrc
$ source ~/.bashrc

Zsh:

$ echo 'alias ssm="sshmenu"' >> ~/.zshrc
$ source ~/.zshrc

Now you can just enter ssm to open sshmenu

Docker

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

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.5.1.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

ssh_menu-1.5.1-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

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