Blink: SSH port forwarding

Created on 30 Sep 2016  Â·  24Comments  Â·  Source: blinksh/blink

Now that Blink is on the App store and we may look to the future, I'm just going to put this feature request out here: SSH port forwarding

RTT feature ssh

Most helpful comment

I think, it will be next major feature after current release. I will start this next week.

All 24 comments

Definitely another killer feature ;)

I think the Apple terms of service prevent this. However, since it is open sourced those who side load it could have port forwarding enabled. Just the production store version would need port forwarding disabled or it would be rejected by Apple. I think.

There are some apps on the app store (e.g. vSSH) that provide port forwarding

That would be great! Termius has it, so I imagine it's not violating Apple's ToS. That and AgentForwarding are the two reasons I'm still using Termius occasionally.

I figured out a workaround that allows me to connect the iPad to a jupyter notebook, so having port forwarding in Blink (and a built-in browser, #143) has become a little less pressing (but would still be a very nice feature)!

I'd love port forwarding, it's essentially the only way to access EMR backed Zeppelin notebooks

+1 port forwarding would be excellent!

Moving to libssh, we are rewriting a good chunk of the ssh client. If done well, these might come almost for free.

So how do we want this to work? Would the usual -L incantation be enough for a first release?

Yes, completely enough for first release!

On Tue, 17 Oct 2017, 22:57 carloscabanero, notifications@github.com wrote:

Moving to libssh, we are rewriting a good chunk of the ssh client. If done
well, these might come almost for free.

So how do we want this to work? Would the usual -L incantation be enough
for a first release?

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/blinksh/blink/issues/142#issuecomment-337385350, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAoSRfpRd66fBt_mJGjWr-SDu4_i4WMNks5stSK-gaJpZM4KK_MO
.

Another related feature I'd love to see is dynamic port forwarding (ssh -D flag) using SOCKS5 proxy. Thanks!

Would love to see the -D flag supported as well. I'm also in favor of having a browser that I could swipe to so that I wouldn't have to deal with the iOS timeout of Blink when I'm in the browser. I saw this thought in one of the other issues.

My use case (it is crazy) is that I ssh into a corporate laptop that then has a vpn connection into my work. I can set up a -D SOCKS5 proxy so that I can get to all work websites from the tablet that I'm connecting with. While most of the use cases might not be as convoluted as this one, I run into similar things more often than not.

If any kind of "feature bounty" could raise the priority for this request, I'd be glad to contribute. @carloscabanero

Thanks!

Is there a easy way to enable port forwarding in custom build? Try dig through the code and came up empty. :(

So, how is this feature coming along?

I think, it will be next major feature after current release. I will start this next week.

Hi Yury,

I see that this issue is moved to Done. How can I try this feature? I'm using TestFlight version but ssh still don't have -L option.

@manuyavuz I think the feature is there. Just not the help text.

Hi @manuyavuz.

Can you verify version in ‘help’ command?
It should be ‘Blink: v12.0.37. Oct 20 2018’

GitHawk Upload by yury

Sent with GitHawk

Hey @yury,

I did an update from TestFlight, now I have it. Sorry for wrong alarm.

Thanks for great tool!

Hey @yury,

Sorry if this is the wrong place to ask, but is there any chance I could get an invite to the TestFlight build please?

Using App Store version at the moment which is utterly fantastic and I’m keen to contribute to the development and testing.

Many thanks!

Hi @peterlewis!
Just sent you invite to TF.

That’s splendid. Many thanks, @yury!

It’s awesome to get forwards - Thanks! I’ve used port forwards with the linux OpenSSH client, but am having trouble getting things working here. Does the -L option in blink work like it does in OpenSSH? Hints or suggestions?

Hi @rfn01,

Yep -L should work as in OpenSSH. For instance ssh -L 8081:localhost:8080 remote will forward all requests to 8081 port on iOS device to remote localhost 8080

Is there a way to configure automatic forwarding of ports for specific servers? I know that there is some limited support for .ssh/config, but it doesn't appear that LocalForward is one of the supported options.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

goerz picture goerz  Â·  4Comments

basepi picture basepi  Â·  5Comments

chrisportela picture chrisportela  Â·  3Comments

nriley picture nriley  Â·  3Comments

jwr picture jwr  Â·  3Comments