-
-
Notifications
You must be signed in to change notification settings - Fork 141
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
Internal SSH client does not support all features of ~/.ssh/config, ProxyJump/ProxyCommand #393
Comments
I think it would probably be easier to figure out how to make the Session Manager work with external SSH clients, which already support jump hosts, than it would be to figure out how to implement In fact, referring to #321, you can already use Conceptually, the setup would work kind of like this (although the actual Session Manager would have to handle multiple sessions rather than assuming only one session on Display :1):
However, I would also want to extend the feature so that it supports SSH forwarding using Unix domain sockets, since TurboVNC 3.1 now has that ability. Conceptually it's straightforward, but it would require a lot of testing, so ideally I would like to secure funding. Closing this issue in favor of #148, but let me know if, for some reason, my proposal wouldn't solve the problem from your point of view. |
I saw this issue, but I couldn't sort out if this would apply to me as the user failed to ever provide any examples of commands/configurations he was using. I have tried to use I agree the enhancements and procedure in general make sense for the Linux/Mac user, my concern about external SSH is a Windows user probably won't have that available, and be locked out of the next-gen features planned. |
Ideally the feature would work with Microsoft's OpenSSH implementation. I need to play around with it and see if I can eliminate the need for SSH forking (the Unfortunately extending JSch to handle |
Reopening because I sort of figured out how to make the Session Manager do a multi-level tunnel using JSch. To back up a bit, the Session Manager opens an SSH connection to the host and uses that connection to execute shell commands (running I was able to make it work by forwarding a local port through the gateway to the TurboVNC host's SSH port and creating a second SSH session through that local port in order to execute the Session Manager's shell commands on the TurboVNC host. That's a little messy, though, so further research is needed on my part. It may ultimately be better to support something similar to |
Actually, upon closer inspection, the
or
|
My current plan is to go with the SSH port forwarding approach, which seems to be what OpenSSH does when using Feedback welcome. |
This sounds pretty great |
How long will it take to be implemented? Can't wait to see. |
Please be patient. I maintain three projects, and libjpeg-turbo is a priority right now due to a paying customer needing the next major release of that software by September 15. |
I'm trying to use the session manager to smooth connecting and launching the VNC server via an SSH tunnel.
In my SSH configuration I use a ProxyCommand/ProxyJump command so that I can directly run ssh normally and the connection will be tunnelled.
https://en.wikibooks.org/wiki/OpenSSH/Cookbook/Proxies_and_Jump_Hosts
i.e. I can run
ssh user@workstation
which the ssh client will transparently perform:
ssh -> mygateway -> ssh -> workstation
All features such as port forwarding (
-L
and-R
) transparently work as though I am directly connected toworkstation
, I do not need to add any extra settings.Thus, I would like to similarly do:
vncviewer user@worksation
Which will honour my ssh configuration and do:
ssh -> mygateway -> ssh -> workstation -> launch vncserver && forward ports
If you go looking around the net, there are loads of documentation on doing this process manually with TurboVNC and similar clients, this would be a massive improvement to the session manager.
The text was updated successfully, but these errors were encountered: