Skip to content

Latest commit

 

History

History
58 lines (36 loc) · 1.3 KB

README.rst

File metadata and controls

58 lines (36 loc) · 1.3 KB

sshmenu

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.

http://i.imgur.com/X1jaoci.gif

Installation

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

Configuration

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]"
    }
  ]
}

Todo

  • Automatically ask to place your ~/.ssh/id_rsa.pub into the remote host's ~/.ssh/authorized_keys