sshmenu
is a simple tool for connecting to remote hosts via ssh. Great if you have trouble remembering ip addresses, hostnames, or usernames.
This tool works by using Python's os.execlp(...)
, which will replace the current process (python) with ssh
.
Tested working on OS X El Capitan (10.11.5) and Ubuntu Xenial Xerus (16.04)
OS X
brew install https://raw.githubusercontent.com/Mike724/sshmenu/master/sshmenu.rb
Linux
pip3 install sshmenu
On first run an example configuration file will be created for you, along with the path. For reference, I've added this information here as well.
OS X
nano ~/Library/Application\ Support/sshmenu/config.json
Linux
nano ~/.config/sshmenu/config.json
Default contents
{
"targets" : [
{
"friendly" : "This is an example target",
"host" : "[email protected]"
}
]
}
- Automatically ask to place your
~/.ssh/id_rsa.pub
into the remote host's~/.ssh/authorized_keys