Giter Club home page Giter Club logo

alfred-ssh's Introduction

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

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.

Alfred 3 only: workflow configuration is available by setting/changing Workflow Environment Variables (accessed via the [𝓍] button within the workflow):

  • disable unwanted sources by setting the associated Workflow Environment Variable to 0; e.g. alfredssh_known_hosts, alfredssh_ssh_config, alfredssh_hosts, alfredssh_bonjour.
  • change the maximum number of returned results by changing alfredssh_max_results (default=36).
  • add additional files listing valid host completions (e.g. for pre-seeding) by adding space-separated short-name=~/file/path entries to the alfredssh_extra_files Workflow Environment Variable. Lines beginning with # are ignored, all other whitespace separated words are assumed to be valid hostnames.

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

alfred-ssh's People

Contributors

isometry avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.