Skip to content

Releases: chandratop/sshh

v2.0.0

31 Aug 10:12
Compare
Choose a tag to compare

Changes

  • To remove a friendly name you can use sshh -r <friendly_name>
  • To describe a friendly name you can use sshh -d <friendly_name>
  • To search a friendly name you can use sshh -s <search text>. The search text can be . for listing all or your search text will be used to match the starting letters of the friendly name
  • [DEPRECATED] sshh -i has been removed

Full Changelog: v1.0.0...v2.0.0

Release v1.0.0

01 Apr 15:36
Compare
Choose a tag to compare

Release v1.0.0 for sshh 🎉

An ssh helper when you have too many ssh hosts

Installation

  1. Get inside the sshh directory
$ cd sshh
  1. Get the absolute path to this sshh directory and copy that path
$ pwd

> /path/to/sshh
  1. Open your .bashrc, .zshrc or whatever configuration file your terminal uses and add the following line to it
alias sshh='/path/to/sshh/sshh.py'
  1. Run the source command to apply the changes (example below)
$ source ~/.zshrc
  1. You can now execute sshh from anywhere
$ sshh

Usage

  • You can use the tool from anywhere using the sshh command.
  • To get help on the arguments you can run sshh -h.
  • The first time you run the command you will have to navigate the folder where you are storing all your pem files.
  • To add a new instance ssh you can run sshh -a <friendly_name>. This will prompt you to enter the instance IP. Then it will ask you to choose the pem file from the directory where you store all pem files.
  • To ssh into an instance using a friendly name you can run sshh -n <friendly_name>.
  • To ssh into an instance using the instance IP you can run sshh -i <instance_ip>.
  • You can also just run sshh command to choose which instance to ssh into.