You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bugSomething isn't workinginactiveNo discussion on issue in awhileoldIssue is really old, so may no longer applyquestionFurther information is requested
Here's what I do:
I want to connect to deda1x4746 (production machine), which requires to connect to nxuser (jump machine) first.
NOTE: ~/bin/distant/ is shared across jump machine and deda1x4746
step 1: type ":DistantLaunch deda1x4746" -- a prompt shows up (see below); I assume this is password prompt for jump machine; I entered my password three times
step 2: another prompt asking me to enter password for deda1x4746 shows up; I entered password for deda1x4746 once; an error message shows up (see below)
I also tried :DistantConnect deda1x4746:22, I got
Would it be possible that you could give me some advice? Thanks!
The text was updated successfully, but these errors were encountered:
@ldmax thank you for the detailed report! I've not actually tried a jump host before. Does the final result require you to tunnel traffic through nxuser once the distant server has been spawned? Or would you be connecting via TCP directly from your laptop to deda1x4746 and other instances?
If it's the former, then you'd want to use DistantConnect ssh://... to only use ssh and not the distant server itself as distant does not (yet) support tunneling TCP connections. Even with that, there may be an issue with the ssh backend we use (there are two different backends available), and you can try changing the backend during DistantConnect options="ssh.backend=libssh" IIRC.
Closing out as an outdated issue. You can try switching the ssh library to libssh as mentioned above. This may also get resolved with chipsenkbeil/distant#193 for distant.
Nothing else that can be done in the neovim plugin itself.
bugSomething isn't workinginactiveNo discussion on issue in awhileoldIssue is really old, so may no longer applyquestionFurther information is requested
Hi chipsenkbeil, thanks for this great plugin!
I was trying to use distant.nvim to connect from my company laptop to production server, with a jump machine in-between.
Company laptop OS: win10
Jump machine OS:
NAME="SLES"
VERSION="12-SP5"
VERSION_ID="12.5"
PRETTY_NAME="SUSE Linux Enterprise Server 12 SP5"
ID="sles"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:12:sp5"
Production machine OS:
NAME="SLES"
VERSION="15-SP3"
VERSION_ID="15.3"
PRETTY_NAME="SUSE Linux Enterprise Server 15 SP3"
ID="sles"
ID_LIKE="suse"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:15:sp3"
DOCUMENTATION_URL="https://documentation.suse.com/"
distant.nvim: branch v0.2 latest commit
I'm able to download Rust library on local machine and put distant-linux64-gnu-x86 to production machine ~/bin/distant/.
Here's my set up for distant:
Here's what I do:
I want to connect to deda1x4746 (production machine), which requires to connect to nxuser (jump machine) first.
NOTE: ~/bin/distant/ is shared across jump machine and deda1x4746
step 1: type ":DistantLaunch deda1x4746" -- a prompt shows up (see below); I assume this is password prompt for jump machine; I entered my password three times
step 2: another prompt asking me to enter password for deda1x4746 shows up; I entered password for deda1x4746 once; an error message shows up (see below)
I also tried :DistantConnect deda1x4746:22, I got
Would it be possible that you could give me some advice? Thanks!
The text was updated successfully, but these errors were encountered: