Skip to content

A set of scripts for creating and managing SSH host aliases

Notifications You must be signed in to change notification settings

jamesmoss/ssh-alias

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A set of scripts for creating and managing SSH host aliases

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages