-
Notifications
You must be signed in to change notification settings - Fork 579
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
--experimental-remote-ip=local
in Blink's mosh still performs an IP lookup remotely, resulting in an unexpected LAN address
#1803
Comments
--ssh
argument, for connecting to mosh via jump hosts
Thanks for the heads up! I will take a deep look at this next week. By any chance, did you try to configure a SSH host for this? That way it would be ssh itself dealing with all that configuration. |
You're welcome, and thank you!
The following work in Blink:
While this case fails:
I believe this fails because when the initial control plane ssh connection is established, searching for the IP address of Thanks again! Edit: I've also tried the following `target` config to more closely match the initial problem description.The results were the same successes/failure. |
Looking at both
Updating my original request, I do not think I need a re-introduction of the |
--ssh
argument, for connecting to mosh via jump hosts--experimental-remote-ip=local
in Blink's mosh still performs an IP lookup remotely, resulting in an unexpected LAN address
Hey, thanks for the thorough explanation, you nailed it. We need to change the way we call our default option as it is not really "local". Our "local" is basically using our ssh API and command so we connect to the same host (a more straightforward approach than what mosh does with "proxy" to pass a ProxyCommand to ssh and read the IP back). "Local" as you noticed should just take the manually resolved from user@host. I will fix it this week. Are you on TestFlight by any chance? |
Thanks for the eyes! I'll DM you my TestFlight email. |
Closing as implemented and released. Feel free to reopen if needed. |
Checklist
Configuration
Blink v16.1.10.772
Describe the bug
I find it difficult to mosh to a target host that's in a LAN behind a bastion host. See the following diagram and legend:
In the above diagram, this is how I would connect to
target host
on a laptop:--ssh
argument allows me to take path#1: ssh
totarget host
to startmosh-server
, and--experimental-repote-ip=local
+203.0.113.20
allows mosh to take path#2: mosh
past the UDP firewall exceptionWith the removal of
--ssh
in commit b38391c, I find it difficult to direct a different control plane path for startingmosh-server
.May I ask that you re-enable the ability to use
--ssh
in themosh
command, or support theProxyCommand
orProxyJump
ssh options via another method?Thanks!
The text was updated successfully, but these errors were encountered: