Live data from Hacker News

Shuttle - A simple SSH shortcut menu for OS X

fitztrev.github.io

31–40 of 112 posts

Re: Shuttle - A simple SSH shortcut menu for OS X

#31
post #23

Earlier quoted context omitted.

They said the purpose of using a .json file was so that your configuration could be synced by dropbox or some other cloud service. I would NOT put my .ssh with all my private keys on dropbox.

You could just make ~/.ssh/config a symlink to your config file in your dropbox folder. No need to put private keys on dropbox.

I agree, this would make a lot more sense...

Re: Shuttle - A simple SSH shortcut menu for OS X

#32

For me you can't beat the combination of Alfred [0] and the SSH workflow [1]. [0] http://alfredapp.com [1] https://github.com/isometry/alfredworkflows/tree/master/net....

You should probably add some install instruction for the workflow, because I have no idea where to start.

Just download the "ssh.alfredworkflow" file and run it, it should automatically be imported to Alfred's Worflows: https://github.com/isometry/alfredworkflows/blob/master/ssh....

Re: Shuttle - A simple SSH shortcut menu for OS X

#33
post #6

Nice job, for me it can't beat a ~/.ssh/config entry though. I wonder why it's not reading ~/.ssh/config btw, should be doable.

"... it makes it easy to generate a dynamic list of hosts from your hosting provider (if they have an API), so you're always up-to-date." It should at least provide a mapping from the json to ~/.ssh/config formats.

The Host directive in an ssh_config file supports wildcards.

Re: Shuttle - A simple SSH shortcut menu for OS X

#36
post #6

Nice job, for me it can't beat a ~/.ssh/config entry though. I wonder why it's not reading ~/.ssh/config btw, should be doable.

I use ~/.ssh/config and have the following in my .bashrc:

https://gist.github.com/oogali/5975670

Tab completion for scp/sftp/ssh based on my ~/.ssh/config.

Re: Shuttle - A simple SSH shortcut menu for OS X

#37
Yet another way to have clickable short-cuts for opening SSH connections using OS X (Safari only): OS X understands URL schemes like ssh://username@hostname.tld:port. Throw it into the address bar or even save this as a bookmark. Safari asks for permission before opening such non-http protocols nowadays and transfers you to Terminal.app. Pro: Less clutter in menu bar. Con: Safari only. (As for me, I prefer ~/.profile and 'alias').

Re: Shuttle - A simple SSH shortcut menu for OS X

#38
post #35

I have two-byte aliases for ssh to all of the hosts I use commonly, doesn't everyone? (It even reattaches my remote screen session.) Why would I want to touch the mouse?

This was my first thought too, but then I considered the case where I'm already using the mouse and want to open a terminal and ssh to an app server. With this it would be two clicks, where without out it requires a move to the keyboard, a hotkey, and two keystrokes. However, moving to the keyboard is necessary after the SSH anyway, so that step doesn't really count against the latter.

Is it for me? I'll try it, but I don't think so. But I think it serves a need for some people, and I can always get behind ideas that serve or improve--successful or not--workflow/dev needs.

Great work Trevor!

Re: Shuttle - A simple SSH shortcut menu for OS X

#39
post #17

For me you can't beat the combination of Alfred [0] and the SSH workflow [1]. [0] http://alfredapp.com [1] https://github.com/isometry/alfredworkflows/tree/master/net....

Or (in Alfred) just type: >ssh [host] If you keep your ~/.ssh/config up to date and can remember your host names, I find it quicker to do that than bothering with the workflow.

I had no idea you could execute commands from Alfred that way. Top tip! Thanks.
Post reply on HN