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

A ssh server achieved by apache mina sshd cannot support for vscode's remote-ssh plugin #10119

Closed
linuxvim20 opened this issue Jul 31, 2024 · 2 comments
Assignees
Labels
info-needed Issue requires more information from poster ssh Issue in vscode-remote SSH

Comments

@linuxvim20
Copy link

🚨 The issue tracker is not for questions 🚨

I'm using apache mina sshd (java spring) to achieve a sshd server A, where server A provide a port 8282 for clients. When a client connect to 8282, server A will start a ssh client and connect to a real linux machine B with sshd service. Thus server A is a bridge for client and real machine B providing sshd service.

Now I can apply "ssh -p 8282 abc@<A's IP>" connecting to B and can also use some single-used instructions like "bash a.sh" or "scp ..." or "wget ..." via this server A. However, when I set up connection configs on vscode's remote-ssh, it failed. And it shows that

�]0;C:\Windows\System32\cmd.exe�
[11:33:38.824] Got some output, clearing connection timeout
[11:33:38.835] > Password:
[11:33:38.835] Showing password prompt
[11:33:41.378] Got password response
[11:33:41.378] "install" wrote data to terminal: "******"
[11:33:41.398] >
[11:33:43.279] "install" terminal command done
[11:33:43.280] Install terminal quit with output:
[11:33:43.281] Resolver error: Error: Got bad result from install script
at g.Create (c:\Users\83130.vscode\extensions\ms-vscode-remote.remote-ssh-0.112.0\out\extension.js:2:499918)
at t.tryInstall (c:\Users\83130.vscode\extensions\ms-vscode-remote.remote-ssh-0.112.0\out\extension.js:2:620821)
at async c:\Users\83130.vscode\extensions\ms-vscode-remote.remote-ssh-0.112.0\out\extension.js:2:580730
at async t.withShowDetailsEvent (c:\Users\83130.vscode\extensions\ms-vscode-remote.remote-ssh-0.112.0\out\extension.js:2:584036)
at async k (c:\Users\83130.vscode\extensions\ms-vscode-remote.remote-ssh-0.112.0\out\extension.js:2:577649)
at async t.resolve (c:\Users\83130.vscode\extensions\ms-vscode-remote.remote-ssh-0.112.0\out\extension.js:2:581407)
at async c:\Users\83130.vscode\extensions\ms-vscode-remote.remote-ssh-0.112.0\out\extension.js:2:848023
[11:33:43.284] ------

I cannot see what happened between the installation script and my server. I want to make sure if this try can work finally or it's not possible to solve.

here is my version of apache mina sshd:

org.apache.sshd
sshd-core
2.9.2

@vs-code-engineering vs-code-engineering bot added the ssh Issue in vscode-remote SSH label Jul 31, 2024
@roblourens
Copy link
Member

@roblourens roblourens added the info-needed Issue requires more information from poster label Aug 1, 2024
Copy link

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

@vs-code-engineering vs-code-engineering bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed Issue requires more information from poster ssh Issue in vscode-remote SSH
Projects
None yet
Development

No branches or pull requests

3 participants
@roblourens @linuxvim20 and others