Skip to content
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 SSH jump point while setting up SSH-Profiles #683

Closed
IsCoelacanth opened this issue Mar 27, 2020 · 9 comments
Closed

Add SSH jump point while setting up SSH-Profiles #683

IsCoelacanth opened this issue Mar 27, 2020 · 9 comments
Labels
enhancement New feature or request

Comments

@IsCoelacanth
Copy link

there's no option to add a jump point when setting up a SSH profile.
Am I missing something or is this option not available yet?

@felixse
Copy link
Owner

felixse commented Mar 31, 2020

like this? https://wiki.gentoo.org/wiki/SSH_jump_host

Not supported in the profile gui right now, but you could try it with the quick launch dialog (it supports ssh commands)

@felixse felixse added the enhancement New feature or request label Mar 31, 2020
@IsCoelacanth
Copy link
Author

I keep getting this when I try to start it from the quick launch dialog. doesn't happen when I don't mention DynamicJumps or specify a port.

command ssh -p #### -J jump@jumppoint target@targetpoint

CreateProcessW failed error:2
posix_spawn: No such file or directory

@maxhora
Copy link
Collaborator

maxhora commented Apr 4, 2020

@IsCoelacanth Seems a known issue related to OpenSSH itself,

Could you please try to run above command in the quick launch dialog with full path to ssh.exe like below:

C:\Windows\System32\OpenSSH\ssh.exe -p #### -J jump@jumppoint target@targetpoint

@IsCoelacanth
Copy link
Author

IsCoelacanth commented Apr 4, 2020

hey @maxhora that gave a new error/pop-up

some (perhaps useful) more info:
System Windows-10 1909, build 18363.720

image

@maxhora
Copy link
Collaborator

maxhora commented Apr 4, 2020

@IsCoelacanth please check the correct full path to ssh.exe at your machine with where ssh and try to use it. Probably, the location of ssh.exe is different on your machine.

@IsCoelacanth
Copy link
Author

@maxhora I've verified it, it's the same path, and there's not other install of SSH anywhere as well.

right now as a workaround I'm using a wsl shell and its ssh to use jumps, be a lot better if I didn't have to.

@maxhora
Copy link
Collaborator

maxhora commented Apr 5, 2020

@IsCoelacanth have you tried to run the same command in standard cmd.exe shell window, not in Fluent?

@IsCoelacanth
Copy link
Author

yeah, getting the same CreateProcessW failed error:2 posix_spawn: No such file or directory error. Looks like openssh doesn't work with ports and Jumps, normal SSH without specifying ports and jump seems to work.

@maxhora
Copy link
Collaborator

maxhora commented Apr 7, 2020

@IsCoelacanth thanks for checking, closing the issue as it is not related to Fluent.
Please check following discussion microsoft/vscode-remote-release#18 (comment) to get it fixed locally (hopefully)

@maxhora maxhora closed this as completed Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants