Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/isometry/alfred-ssh

SSH workflow for Alfred for Mac with powerful hostname expansion/completion
https://github.com/isometry/alfred-ssh

alfred alfred-workflow iterm2 ssh terminal workflow

Last synced: 8 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# ssh workflow for Alfred

A workflow for [Alfred](http://www.alfredapp.com/) 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](https://raw.github.com/isometry/alfredworkflows/master/screenshots/ssh_local.png)

![Example 2](https://raw.github.com/isometry/alfredworkflows/master/screenshots/[email protected])

## Releases

- [v1.3 for Alfred 2.4+](https://github.com/isometry/alfred-ssh/releases/tag/v1.3)
- [v2.3 for Alfred 3.1+](https://github.com/isometry/alfred-ssh/releases/tag/v2.3)
- [v3.x for Alfred 4.0+](https://github.com/isometry/alfred-ssh/releases/tag/v3.1)
- [v4.x for Alfred 5.0+](https://github.com/isometry/alfred-ssh/releases/latest)

## Prerequisites

- [Alfred](http://www.alfredapp.com/) (version 2.4+/3.1+/4.0+/5.0+)
- The [Alfred Powerpack](http://www.alfredapp.com/powerpack/).
- Python3 for v3.x+ (most easily installed/maintained with `sudo xcode-select --install` or [Homebrew](https://brew.sh/))

## 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](https://www.iterm2.com/) 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](http://apple.stackexchange.com/questions/28938/set-iterm2-as-the-ssh-url-handler) and [here](http://www.alfredforum.com/topic/826-ssh-with-smart-hostname-autocompletion/#entry4147)).

## Contributions & Thanks

- [nikipore](https://github.com/nikipore)