Skip to content
A set of scripts for creating and managing SSH host aliases
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
readme.md Update readme.md
ssh-alias-delete.rb Initial commit
ssh-alias-list.rb Initial commit
ssh-alias-new.rb Initial commit

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.

Something went wrong with that request. Please try again.