gem install ghost
And then from the command line:
$ ghost add mydevsite.local [Adding] mydevsite.local -> 127.0.0.1 $ ghost add staging-server.local 220.127.116.11 [Adding] staging-server.local -> 18.104.22.168 $ ghost list Listing 2 host(s): mydevsite.local -> 127.0.0.1 staging-server.local -> 22.214.171.124 $ ghost delete mydevsite.local [Deleting] mydevsite.local
Aside from basic
delete options, Ghost provides powerful
delete_matching operations to import files or delete entries based on pattern matching.
Check out the source on GitHub.
UPDATE: We covered ghost-ssh, a hidden feature of
ghost which lets you manipulate your
~/.ssh/config file as well.
Have comments? Send a tweet to @TheChangelog on Twitter.
Subscribe to The Changelog Weekly – our weekly email covering everything that hits our open source radar.