4 ms·
Yeah. It's yet another newbie script hyped@HN. :-(
by rw2- 16y ago
Yeah.
It's yet another newbie script hyped@HN. :-(
- xenophanes 16y agoIt's good for newbies to make code public and start trying to participate in the community. That's how they become experts!
- catch23 16y agoWhat's wrong with a newbie script? Seems like people like it based on the comments here. Sometimes the most liked things are pretty simple.
- aphyr 16y agoHeh, point taken--I banged it out in 3 hours this morning. Though I must admit laughing a little about being called a newbie! Not like I'm hard to find on github or freenode... :-) I only submitted because a.) it takes advantage of some non-obvious ssh features I have to look up every bloody time, b.) friends have asked for it, and c.) yesterday's front-page submission about theft made it seem apropos to remind people how easy this is to accomplish.
- kunley 16y agoYeah but why Ruby? It's what shell scripting has been invented for :) While I admit many looong shell monstrosities are better implemented in something like Ruby, and I myself use Ruby as a scripting language of choice for anything longer that a one screen of text, this time looks like it's kind of - excuse my language - overrubyism. I understand there's a tendency of rewriting everytning in The One Beloved Language and I'm a victim of this approach myself occasionally. But seriously, this could be a shell few-liner! Anyway thanks for advertising the idea of ssh -R tunnels, they are a neat trick!