Fork me on GitHub
#unrepl
<
2018-01-31
>
bozhidar08:01:47

We’ve got some code for dealing with ssh tunneling in CIDER - I guess you can take a look at it.

bozhidar08:01:23

It’s just for cider-jack-in and it relies on tramp - something similar can be done with connect I guess, although it’s a bit odd to me to be doing ssh tunnelling unless you’re already editing the remote source files.

volrath18:02:34

this is really cool, I'll check it out!

bozhidar08:01:32

But I can see your point.

mhcat19:01:47

fwiw, a use case that I value is when I have an instance of an application running in a cloud environment, in an integration context which is difficult to replicate locally, maybe even as one trial balloon in production. In that case, tunneling in to connect to a repl port from emacs is super useful, though with cider I have to jump through hoops to get code navigation working. The ability to tweak, evaluate the tweak and test it live is awesome, even if it's despised by ops people often.

mhcat19:01:03

anyway, that's an example of tunneling without remote editing

mhcat19:01:34

(otoh, I would generally rather create the tunnel myself and connect to a forwarded port)

mhcat20:01:43

dunno really... I like exposed plumbing

mhcat20:01:53

I find it easier to reason about

mhcat20:01:39

I mean, that's kind of the attraction to emacs too... I think it's probably irrational.