pacmax beta

Alfred Pac by isometry on GitHub

ssh

SSH workflow for Alfred for Mac with powerful hostname expansion/completion

From their README

ssh workflow for Alfred

A workflow for Alfred Powerpack users to rapidly open Secure SHell (ssh) sessions with smart hostname autocompletion based on the contents of ~/.ssh/known_hosts, ~/.ssh/config, /etc/hosts and (optionally) Bonjour.

Example 1

Example 2

Releases

Prerequisites

  • Alfred (version 2.4+/3.1+/4.0+/5.0+)
  • The Alfred Powerpack.
  • Python3 for v3.x+ (most easily installed/maintained with sudo xcode-select --install or Homebrew)

Usage

Type ssh in Alfred followed by either a literal hostname or by some letters from the hostname of a host referenced in any of ~/.ssh/known_hosts, ~/.ssh/config, /etc/hosts, or (with pybonjour installed) Bonjour.

If you wish to have iTerm2 act as ssh protocol handler rather than Terminal.app, create a new iTerm2 profile with “Name” $$USER$$@$$HOST$$, “Command” $$ and “Schemes handled” ssh (e.g. here and here).

Contributions & Thanks

Latest release

7 earlier releases
  • 3.14 years ago, 18 KBDownload

    Fix Python warnings on macOS Monterey 12.3.1.

  • 3.05 years ago, 18 KBDownload
  • 2.39 years ago, 18 KBDownload

    Add the ssh external trigger to support integration with alfred-tty.

  • 2.29 years ago, 18 KBDownload

    Switch to direct execution via external script.

  • 2.19 years ago, 18 KBDownload

    Internal refactoring without functional change.

  • 2.010 years ago, 18 KBDownload

    Thoroughly refactored and updated for Alfred 3

    • Switched from XML to JSON output (not backward compatible with Alfred 2)
    • Added the ability to disable particular hostname sources via Workflow Environment Variables
    • Added the ability to add custom hostname sources (files containing whitespace-delimited hostnames for completion)
  • 1.310 years ago, 18 KBDownload

    Improve support for Alfred 3 whilst maintaining backwards compatibility with Alfred 2.4+