README.md

This program allows you to automatically create bookmarks for all
hosts that your SSH knows about. The really cool part is that it also
includes a LaunchAgent script that re-runs this every time your SSH
config changes. Include the output dir in your LaunchBar / QuickSilver
/ Alfred config, and you can SSH into hosts without even opening
Terminal (to type SSH)!

High Sierra compatibility warning

MacOS High Sierra does not allow you to use ssh:// URLs in .webloc files!

Installation

Installing from crates.io:

Installing from git:

Usage

You can use ssh_bookmarker create as a one-off script to generate
SSH bookmarks in a specific directory. Specify SSH config file
locations with -c and known_host files with -k (There are no
defaults for file locations, so you'll have to specify them all
yourself).

Watching your SSH config files

You can use ssh_bookmarker launchagent with the same options as you
would create to create a LaunchAgent definition. The agent will
watch all the SSH config and known_hosts files you specify, and invoke
the ssh_bookmarker program every time launchd detects changes. Here's
an example: