Questions tagged [vscode-remote]
Visual Studio Code Remote Development allows you to use a container, remote machine, or the Windows Subsystem for Linux (WSL) as a full-featured development environment
vscode-remote
967
questions
1
vote
0
answers
13
views
I can't establish a connection with a ssh server with VsCode
In this month i always connected to a ssh server with vscode ssh connection, and the only thing i do to close my connection is close the window. But this time i can't reconnect due to an error.
This ...
0
votes
0
answers
9
views
Cannot use remote-ssh
I have installed ssh extension Remote-SSH. However, I cannot use it. And I cannot find it on the side bar. How to solve it?
I have tried to re-install VSCode/Remote, or change another version, but ...
1
vote
0
answers
27
views
Can not connect VSCode to WSL2 running Ubuntu-22.04
I am setting up a test environment to try the MOJO language in my Windows 11 Pro laptop (V 10.0.22631 Build 22631). Since MOJO doesn't have a Windows SDK available (yet), I installed WSL2 using ...
0
votes
0
answers
9
views
Visual Studio Remote development "attach visual studio code" always connecting to dev container as root?
I have a docker container running and I attempt to use the docker extension to "attach visual studio code" to the container. This always connects me as root, though I want to connect as a ...
0
votes
0
answers
16
views
Can't connect VSCode debugger to remote docker container running locally with NextJS
What I've tried
Going to localhost:3000 works fine and I can visit the nextjs website when I'm running it on the docker container.
When I ping port 9229, 9230 it is also successful.
$ nc -zv localhost ...
0
votes
1
answer
29
views
Trouble Performing SSH Agent Forwarding with Raspberry PI Using VSCode Remote Development Extension
When I SSH into my Raspberry Pi using VSCode Remote Development, SSH agent forwarding won't work. When I run ssh-add -l on my local Mac machine, I get an identity. When I'm logged into the Raspberry ...
0
votes
1
answer
25
views
Connecting via VS Code remote explorer to Windows machine
I tried connecting to a Windows 11 machine (from a Linux Laptop) to develop code on the Windows machine (I know, i know... wrong direction, it is how it is, cant force the Lab to change OS on their ...
0
votes
0
answers
16
views
VS Code remote: environment variables not refreshed
VS Code Version: 1.90.2
OS Version:
Steps to Reproduce:
On WIndows OS
install OpenSSH Server
https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse?tabs=gui
...
0
votes
1
answer
70
views
Unable to fix SSH Permission denied (publickey) error
I keep getting this error whenever I try to access a server via ssh using VSCode's Remote Explorer or command line terminal.
I already checked this question, but was unable to solve the issue.
I have:
...
1
vote
0
answers
21
views
Refresh global environment variables in vscode with remote-ssh after modifying .bashrc
I'm recently using vscode installed on Windows 11 to connect to a CentOS 7 server with remote-ssh. I put all my environmental variable settings at $HOME/.bashrc on the server, and I need to change ...
0
votes
0
answers
18
views
Remote tunnel error when trying to keep the tunnel active
I'm trying to start remote tunnel with:
code tunnel --no-sleep
However I get the following error:
[2024-06-30 09:13:27] warn Could not inhibit sleep: error requesting sleep inhibition, pminhibitor ...
-2
votes
0
answers
27
views
Error trying to push code to my GitHub remote repo
I'm trying to push a project to my GitHub repo from VSCode, but everytime I push it brings the error: "Can't push refs to remote. Try running pull first to integrate your changes" Me trying ...
0
votes
0
answers
17
views
no Jupyter: Specify Jupyter server for connections
I installed python and jupyter extensions in VS Code, but I don't see "Jupyter: Specify Jupyter server URI" or "Jupyter: Specify Jupyter server for connections" in the command ...
0
votes
0
answers
34
views
Why is Gradle(-wrapper) behaving differently in a devcontainer (vs locally and in CI)?
I have a gradle multi-project that pulls dependencies from a private gitlab maven repository. To keep the credentials secret they are stored in a non-versioned gradle.properties in the root. Further ...
0
votes
0
answers
37
views
Connecting VSCode Desktop (Locally) to Azure Studio Compute Instance through Azure Machine Learning Extension
I am trying to connect to an Azure Studio Compute Instance through VSCode Desktop and its associated Azure Machine Learning VSCode extension.
Context:
While developing in Azure Studio ML Compute ...