SSH - quickly open a terminal window with an SSH session in it

Sharing and discussing custom actions for LaunchBar
antifuchs
Posts: 5
Joined: Mon Aug 03, 2009 12:24 pm

SSH - quickly open a terminal window with an SSH session in it

Postby antifuchs » Sat Nov 18, 2017 9:36 am

Hi all, I've long been using https://github.com/antifuchs/ssh_bookmarker to generate .webloc files for my configured SSH destinations with launchbar (here's an older thread of mine about this: https://forums.obdev.at/viewtopic.php?t=3077). Sadly, High Sierra broke that, and so I wrote this little action. It comes with two parts:

First, it allows you to quickly directly SSH to a host. To do that, just open LaunchBar, type "SSH", space, and then the host name. LaunchBar will then open ssh://that-hostname, which should open a new terminal or iTerm tab, with an SSH session to that host.

Second, it also auto-completes hostnames from your ~/.ssh/config and ~/.ssh/known_hosts.

You can find the codesigned Action bundle in attachments. I'll try and get this checked into version control soon (look for it under the ssh_bookmarker repo above), but wanted to share what I have early (-:

Hope you enjoy!
Attachments
SSH.lbaction.zip
(10.13 KiB) Downloaded 50 times

antifuchs
Posts: 5
Joined: Mon Aug 03, 2009 12:24 pm

Re: SSH - quickly open a terminal window with an SSH session in it

Postby antifuchs » Sat Nov 18, 2017 7:45 pm

Update: I've added the source code to the ssh_bookmarker repo, and cut a release. You can find the release here: https://github.com/antifuchs/ssh_bookmarker/releases/tag/v0.1.0 and the source code is here: https://github.com/antifuchs/ssh_bookmarker/tree/master/action


Return to “LaunchBar Actions”

Who is online

Users browsing this forum: Google Feedfetcher and 3 guests