Live data from Hacker News

Shuttle - A simple SSH shortcut menu for OS X

fitztrev.github.io

71–80 of 112 posts

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

#71

Earlier quoted context omitted.

Why is this even a question? It's a tool that someone will want to use. As long as there is a mouse, there will be tools that use it. You are essentially asking 'why does this tool exist', which is an irrelevant question and is needless negativity.

I'm not sure that is completely fair. He was just making the point that using only your keyboard is much faster and there are already built in tools for doing that. He may have just been asking why someone would want to use a mouse over a keyboard for this type of thing.

And the parent's point is that "why doesn't everybody use all keyboard shortcuts all the time" is a HN refrain that is tired and smug, and yet still the top-voted comment here.

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

#72
Aliases in ~/.ssh/config are my preference, but if clicking with the mouse is your thing, why not throw Terminal.app in the Dock and click/hold the icon? Choose New Remote Connection... and you can save all your services and hosts right there. No additional processes running or clutter in the menubar.

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

#73
post #11

Not to be confused with sshuttle, a transparent proxy server that forwards over SSH: https://github.com/apenwarr/sshuttle

This looks pretty sweet. Seems like it'd work well with EC2 for transparently getting you into the private hostnames without having to open security groups and use something like FoxyProxy. Anyone used it for this?

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

#74
post #30

I love this more than for just ssh. I added a few other common commands into the menu for easy access.

That is a great idea. Thanks!

Yep. Also, I understand what other people are saying about already having aliases, I do too. But, as a visual list of servers I can ssh into it is a nice reminder. Plus there are some files that I edit only from time to time (php.ini, apache config, etc). I made shortcuts that throw those files into my editor. Call me an amateur, but when I have to edit some of those my first question is usually, where the hell is that file again? Anyway, I find this tool useful.

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

#75
post #63
post #49

Earlier quoted context omitted.

Instead of asking yourself why you should'nt upgrade you should probably ask youself why you should. So what's the reason for upgrading?

See apple.com for your answer. I can't believe on hn you'd ask why anyone should upgrade. Being on the latest version is more secure for one. People can stick with old versions, but then they'll miss out on the new stuff. For some that doesn't matter, but most of hn are early adopters so using the latest would be the norm. While osx has introduced some annoying changes, for those with the skills, or the ability to us…

Looking at apple.com's list of features for mountain lion

Lets see what was added in mountain lion that I would use:

* Improved preference pane (OK, this might be good)

* Accessibility pane available from anywhere (No)

* New braille display support (No)

* Voice Over stuff (no)

* AirPlay Mirroring (Don't have anything that can use that)

* Auto Save (Don't really want this, I use vim for most things anyway)

* Built-in Sharing (Might be cool, but meh)

* Calendar (I use google calendar, so no)

* Contacts (I don't use this)

* Dashboard (I don't use that)

* Dictation (Cool, but no)

* Dictionary (Not really using this either)

* Facebook (Nope, not using any of that)

* Features for China (I don't need these)

* Finder (lets take a closer look)

* Inline progress for downloads and file copies (Ok, not bad, but I don't normally mount any servers or stuff. I can just scp stuff that I need, or git pull)

* Easy encryption (Yay, this is neat)

* Share button (Nope)

* Customizable sidebar (Huh, wasn't it customizable before?)

* Tap for Quick Look (This is neat, I'll use it a few times)

* Game Center (Dont' care)

* Gatekeeper (Don't want)

* iCloud (Not going to use)

* Launchpad Search (Don't use launchpad)

* Mac App Store (Nothing really great in here)

* Mail (I use gmail, so don't care)

* Messages (Don't use)

* Notes (Might be cool, but I don't think I'll use.)

* Notification (I already use Growl, don't really need this, it's just going to be another thing to configure. Maybe I'll like it, I don't know)

* Photo Booth (Now you can add pictures to Twitter! Don't need that)

* Power Nap (Might be cool)

* Preview (I use Skim.app, so don't care)

* QuickTime X (Don't really care)

* Reminders (Don't really care)

* Safari (I'm using Chrome)

* Security (Some stuff might be good, nothing super important)

* System (Nothing too great in this section)

* TextEdit (I use vim)

* Time Machine (I only need one place to backup, so the multiple places to backup isn't that important right now (might be in the future), but the encrypted back ups are nice)

* Twitter (Don't care)

So I get:

* Improved preference pane

* Power Nap

* Easy encryption

* Tap for Quick Look

* Time Machine

Not really worth the price of updating.

I guess I'll update once the next one comes out, since they fix multiple monitors with Mission Control to work more the way I like it.

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

#76
I have a widget like this for AWS+Virtualbox, it sorts all instances across all regions into tag name groups, by ip, by region, and by instance type. Unfortunately I know it only works for Windows and linux at the moment and my company hasn't given me a green flag to release it.

Still this project is a lot prettier and appears to have been more refined while mine was hobbled together in a hour or two and fit in one Python file ( reasonably, its not 10 files in one ).

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

#77
post #11

Not to be confused with sshuttle, a transparent proxy server that forwards over SSH: https://github.com/apenwarr/sshuttle

This looks pretty sweet. Seems like it'd work well with EC2 for transparently getting you into the private hostnames without having to open security groups and use something like FoxyProxy. Anyone used it for this?

I haven't looked at it all, but it sounds like you're wanting something like the functionality that SSH's "ProxyCommand"?

As an example, we lockdown our servers so that they are only accessible via SSH from a few hosts. I got tired of SSH'ing into server A just to SSH into server B, so I set up my ~/.ssh/config file so that when I "ssh serverB", it uses the ProxyCommand functionality to basically do that for me.

Here's what it looks like in ~.ssh/config:

    Host serverB
        ProxyCommand ssh serverA.example.com -W %h:%p
When I "ssh serverB", it connects to serverA first and then connects to serverB. I could be wrong but it sounds like that is what you were talking about.

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

#78

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…

I was actually going to do this at first. Something as simple as openURL:"ssh://username@example.com", then let OS X handle opening the default terminal. But I wasn't able to easily specify things like a different private key (for AWS or Vagrant). This at least gives the user the ability to specify any option that they could also specify on the command line.

You can specify per-host keys in ~/.ssh/config (hint: "IdentityFile").
Post reply on HN