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

New update provides incorrect username when ssh-ing #10698

Closed
6 tasks done
EdgarMao opened this issue Feb 12, 2025 · 4 comments
Closed
6 tasks done

New update provides incorrect username when ssh-ing #10698

EdgarMao opened this issue Feb 12, 2025 · 4 comments
Assignees
Labels
info-needed Issue requires more information from poster ssh Issue in vscode-remote SSH

Comments

@EdgarMao
Copy link

Is there an existing issue for this bug?

  • I have searched the existing open issues and found none that apply.
  • If I find any issue of interest that is related or closed, I will included a link to it in this issue.

Required Troubleshooting Steps

  • I have read and performed the troubleshooting steps
  • I have tried both values of the remote.SSH.useLocalServer setting
  • My issue was not covered in the Tips and Tricks linked from the Troubleshooting Wiki.
  • I will include a complete copy of my Remote - SSH logs by running Remote-SSH: Show Log in the command palette or from View > Output in the menu bar

[Optional] Diagnose with Copilot

I did not ask the @remote-ssh participant for help

In step 2 of the troubleshooting wiki, what was the result of running the generated SSH command verbatim outside of VS Code?

I did not try step 2 of the troubleshooting steps

Remote-SSH Log

Remote-SSH Log

[PASTE LOG HERE WITHIN THE BACKTICKS TO FORMAT]

Expected Behavior

When loging in to a remote server username using previous versions of Remote - SSH, the hostname would be of the format username@host.

Actual Behavior

When logging in using the new version (0.117.1) the hostname would be of the format username@username@host

Steps To Reproduce

Login to a remote server using any existing ssh configs.

Anything else?

No response

@EdgarMao EdgarMao added the ssh Issue in vscode-remote SSH label Feb 12, 2025
@joshspicer
Copy link
Member

Can you provide your log and relevant SSH configuration file?

@joshspicer joshspicer added the info-needed Issue requires more information from poster label Feb 12, 2025
@joshspicer
Copy link
Member

I believe related: #10696 (comment)

@EdgarMao
Copy link
Author

Yes I have essentially the same issue as #10696 and was able to fix the issue after implementing the changes mentioned in that issue. Thank you so much!

@joshspicer
Copy link
Member

Thank you for confirming @EdgarMao!

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

2 participants