A set of scripts for creating and managing SSH host aliases
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
readme.md
ssh-alias-delete.rb
ssh-alias-list.rb
ssh-alias-new.rb

readme.md

ssh-alias

A ruby script which makes it easy to add, delete and list the ssh aliases in ~/.ssh/config.

Installation is simple:

$ git clone https://github.com/jamesmoss/ssh-alias.git
$ cd ssh-alias
$ chmod -r +x .

To add a host run ./new-ssh-alias.rb and follow the prompts. The script also takes care of transferring your public key to the server so you won't have to re-enter your password every time you connect.

If you want to remove an alias use ./delete-ssh-alias.rb and follow the prompts. ./list-ssh-aliases.rb will print a list of every alias you've got setup.