-
Notifications
You must be signed in to change notification settings - Fork 565
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ProxyCommand to ssh #203
Comments
First mentioned on #139 |
I seriously need this, Every server I need to access in behind a bastion servers. I know its hard to prioritize functions but I am willing to bounty this. Seriously, Im in for $200, ($300 if it works with a standard ssh config file, dont wanna have to define the proxy rules over and over again). I'm serious! What can I do to get this is accelerated and into a patch ASAP? |
Bump!!!!! |
I have this working but it needs ssh agent forwarding to be really useful. For mosh that would require us to catch up with the latest version. @RevREB do you have the keys on the other server? |
I can confirm I have now ProxyCommand up and running, working on the Agent and the rest of the client. Fingers crossed to have this before holidays! |
need this feature badly. |
@carloscabanero sorry for the delay in responding, and I look forward to playing with the work you've done (when might the changes be included in the iOS store version), but to answer your question... No, there would not be private keys on the "bastion" host. |
Looking forward to this. |
This comes next ;) |
Really looking forward to this, Is there any update about this and “agent forwarding”? |
I do believe you will be the first ios product on the market to support ProxyCommand. That should motivate you. I would state that in your app store description "above the fold"! |
Really looking forward to this!!
On Tue, Apr 17, 2018 at 4:45 PM -0400, "Bruno Bronosky" <notifications@github.com> wrote:
I do believe you will be the first ios product on the market to support ProxyCommand. That should motivate you. I would state that in your app store description "above the fold"!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I'll be looking forward to this. As for being the first, the dead iSSH (https://web.archive.org/web/20120415035140/http://www.zinger-soft.com:80/iSSH_features.html) had a feature where you could forward ports via ssh, which would then be available to other apps on your iOS device. |
@carloscabanero is there any movement on this? It’s the only thing stopping me from doing my whole job from an iPad. |
@RevREB we are working on libssh, so we are close to ProxyCommand and port forwarding. https://cdn.discordapp.com/attachments/441940293240225793/463731449615613953/IMG_0511.TRIM.MOV |
I saw that video. Can’t can’t wait enough to see this and proxycommand. Such an excellent ssh app |
Here is a demo of ProxyCommand |
Perfect! Looking forward to trying it out. An aside: recently i learned about
The bastion host requires me to use MFA (duo) to login. Before i added this to the config, i had to enter my DUO prompt on my phone with every ssh access. Now wiht this in my config, as long as the first SSH session is open, i dont get MFA prompts anymore. So nice. Would blink support this for this version or in future? |
Oh, interesting. For next release we will try to add support for iOS 12 sms codes suggestions feature. Sent with GitHawk |
@aphecetche sent you invite. |
Thanks. How should I give my feedback ? Here on github ? |
Here or at discord |
May i also get an invite? I would like to try with my setup. |
Hi @saptarshiguha, just sent invite to you. |
I did install the test flight and i'm writing this (having uninstalled previous versions)
I also tried
but in both cases i got
Note, I also tried ProxyCommand too |
Yep, ssh -o "proxycommand=..." ... |
Thanks. I tried
which prints
sends me DUO prompt on my phone which i need to accept. |
Please try ssh -o "proxycommand=ssh -q -W %h:%p bastion.Foo.net" hala |
same result |
Thank you @saptarshiguha, will try to fix that tomorrow... Will post any updates on that. |
Hi, I’m a bit at lost. My first test is pretty simple : Host linode-ui But I can’t connect using a simple ‘ssh linode-ui’ I assume this is because I misunderstood something obvious ;-) A) is the .ssh/config supposed to be read ? |
Hi,
|
Ok, so I’ve misunderstood how far the functionality I’d need is already available. I mean, if I need to get host+keys in config (as now) + type by hand the -o « proxycommand= .... » then that’s not quite what I had in mind ;-) Guess I’ll have to wait a bit more then... |
I updated via testflight and eager to try it out again. How do i go about editing .ssh/config on the ipad? |
We currently do not fully support .ssh/config. You should use ‘config’ command. |
Unfortunately, the same ending. Note, i'm using
as the ProxyCmd. The suggested example
does not work (even when i ssh from my desktop, for some reason our bastion doesn't work with this form).
On the server end, we have |
Hi @saptarshiguha, Yes, if your sshd don't allow port forwarding, then you should use nc. In ProxyCmd you should write But before you go to your host ssh to your bastion directly. Then try connect to host with proxy command. |
Thanks much.
but returned to blink prompt (i..e not in remote terminal). If i ssh into bastion from my desktop I get
Similarly if i ssh into hala, i just get returned to blink prompt. |
Yes, it should return to blink. |
that too returns to blink. I'm also free to chat on Discord. I can join there if thats better |
then
previously i was using the bastion's This works for me with DUO MultiFactor Auth too. Thanks so much!! |
Implement the ProxyCommand parameter to specify a command to use to connect to a server. This is useful (almost a requirement) in conjunction with Agent Forwarding and an ssh-agent #81.
The text was updated successfully, but these errors were encountered: