Skip to content

mattjbones/scu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Simple SSH Config Updater

So it's a little bash script I wrote to help quickly update SSH config files. I found that I was frequently vim'ing and grepping my config for the names of servers I didn't use very often. This script is an attempt to speed up those interactions.

I added the removal ability because I wanted to have a play with sed and see what could be done.

Alias

Usage is probably best by alias, pull the code and alias to script. e.g from my bash_profile:

alias scu='/path/to/repo/ssh_config_updater.sh'

Then invocation is simply $ scu

Usage

By default the script will run in interactive mode, however this is not always useful and there is the options for some command line args.

-l will list all entries in the config file

Requirements

This script has been written for bash and developed and tested on OS X. I will test it on more platforms if it becomes more useful but I use sed to process the removal which might not translate. You'll have to try for yourself.

About

Simple SSH Config Updater

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages