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

Issue with Remote-SSH Extension in VSCode when Switching Users #9072

Closed
SammonBabu opened this issue Oct 6, 2023 · 1 comment
Closed

Issue with Remote-SSH Extension in VSCode when Switching Users #9072

SammonBabu opened this issue Oct 6, 2023 · 1 comment
Labels
*duplicate Issue identified as a duplicate of another issue(s) ssh Issue in vscode-remote SSH

Comments

@SammonBabu
Copy link

Hello everyone,

I've been using VSCode with the Remote-SSH extension, and I'm encountering a problem when trying to access certain files on a remote host. I connect to the host using a username and IdentityFile with a passphrase. However, to access specific files, I need to switch users using the 'su <user>' command, and provide that user's password.

The issue I'm facing is that once I switch users, I can only access the file in the terminal, and I'm unable to see or edit it in the VSCode file explorer. Consequently, I'm unable to use the graphical editor of VSCode to modify these files.

Has anyone else encountered this problem, and if so, do you have any suggestions on how to resolve it? Your help would be greatly appreciated!

Thank you.

@github-actions github-actions bot added the ssh Issue in vscode-remote SSH label Oct 6, 2023
@roblourens
Copy link
Member

#690

@roblourens roblourens added the *duplicate Issue identified as a duplicate of another issue(s) label Dec 18, 2023
@microsoft microsoft locked and limited conversation to collaborators Feb 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) ssh Issue in vscode-remote SSH
Projects
None yet
Development

No branches or pull requests

2 participants