Closed bluecmd closed 11 months ago
Try adding -extssh
to the command line. The viewer's built-in SSH client doesn't support ProxyJump
.
Thanks! That will probably work. FWIW, I tried but at least on NixOS ssh
is not in /usr/bin/ so I cannot use this option straight away:
Cannot run program "/usr/bin/ssh": error=2, No such file or directory
I need to figure out how to set VNC_TUNNEL_CMD
or something.
If I may, it would probably be better to use /usr/bin/env ssh
[1] as that is quite cross-platform.
Either way, I will close this particular issue as this will most likely work when I get the SSH part correct :-)
EDIT:
I went with:
$ VNC_TUNNEL_CMD='/usr/bin/env ssh -f -L %L:localhost:%R %H -n -N' vncviewer -fsaltenter -fullscreen -extssh -tunnel the-machine.local:1
That's a good idea (using /usr/bin/env ssh
.) I will look into it.
Hello,
I am trying to use TurboVNC to connect to a host that requires a SSH ProxyJump step. This is the config:
I am trying to use:
The log output is:
Here I would have expected the client to first connect to
hypervisor
and set up a port forward. This is whatssh localvm
does when I run it locally.