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

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

Automatically run VM and attach VSCode for remote develop

I have a project which closely work with linux kernel and thus development environment is qemu with exact linux kernel version and generic ubuntu rootfs. There is a script that can launch qemu with ...
Kamil Zaripov's user avatar
0 votes
0 answers
15 views

vs code connect server failed on win10?

The client is win10, and server is also win10.I had install ssh-server on win10 server side, and can use ssh command connect it. The Client win10 had install vs-code,so I use vs-code ssh-remote ...
jett chen's user avatar
  • 1,099
0 votes
0 answers
19 views

Why my default terminal path on WSL is set to the document where VScode is installed?

I am connecting to my WSL by VSCode, but if I create a new terminal, it is opened under the Windows document where VSCode is installed. The screen capture of the terminal path: I have tried to modify ...
Shenxing Wei's user avatar
0 votes
0 answers
22 views

How do I use VSCode Tunnels using only a Microsoft account instead of a GitHub account?

I want to code on my school issued Chromebook, however GitHub is blocked on our systems so we aren't allowed to use anything like GitHub CodeSpaces. The best I could find is vscode.dev with remote ...
Nitin Gatla's user avatar
4 votes
2 answers
73 views

How to bypass the WSL step when setting up a vscode devcontainer

I am working on a Windows 10 machine but connecting to a Linux server (Ubuntu 22.04) over SSH using vscode to develop. On the Linux server, I am developing a devcontainer. I have been running into an ...
Kunal Shah's user avatar
1 vote
0 answers
13 views

How can code opened in a container execute arbitrary code outside the container?

I generally work inside of docker containers both to keep my local environment clean, and to sandbox. However, when I use VSCode Remote Containers to try to open a folder in a container I am told: ...
Micah Zoltu's user avatar
  • 6,940
1 vote
0 answers
33 views

Intellisence and syntax coloring fail in vscode remote C/C++ development

In my local machine, the intellisense and syntax coloring work normally. But when I use SSH to connect to the remote server, somenthing goes wrong. First, the syntax coloring can not correctly assign ...
Junqing Chen's user avatar
0 votes
0 answers
12 views

How to exclude workbench.colorTheme from VS Code Settings Sync?

Is there a way to selectively prevent VS Code from synchronizing the workbench.colorTheme setting between remote and local instances, while keeping all other synchronization settings active?
deijany91's user avatar
-1 votes
1 answer
28 views

VS Codespace issue - cannot run files after opened them

enter image description here Hello World i am a beginner to learn code and am taking CS50 lesson. today i face a problem on VS codespace. As shown on the picture: All filenames on the left suddenly ...
user22934922's user avatar
0 votes
0 answers
30 views

Why does VSCode Remote-SSH keep asking for password and forgetting opened folders?

I'm using VSCode on Mac to connect to remote Windows computers using SSH (Remote-SSH) for developing Powershell scripts. It works OK, except I have to type password 3 times: When connecting to the ...
BellsAndWhistles's user avatar
0 votes
0 answers
32 views

Git worktrees in VSCode devcontainer

I would like to use VSCode devcontainers with Git worktrees. I'm following these instructions to get a directory layout where all branches I'm working on are side-by-side. It results in something like ...
boberto's user avatar
  • 151
0 votes
1 answer
27 views

How to close dev container connection on remote server

In have a server on which I have launched a Dev Container to develop a NodeJS application. I am using VS Code to connect to this server via the "Remote - SSH" extension. Once connected to ...
Guppie70's user avatar
  • 173
0 votes
0 answers
40 views

Cannot use vs code remote ssh with cygwin over http proxy on windows 11

I am trying to connect to a remote vm using ssh. Due to my company network settings the only way to achieve this is using an http proxy in the port 443. I can successfully log into the vm (the vm has ...
EDGAR MEDINA's user avatar
1 vote
0 answers
27 views

overload or extend a Dev Container configuration file (`devcontainer.json`)

I am looking for a possibility to extend or overload a devcontainer.json file that has been added to the repository / version control. current Example project structure (can be replicated with the &...
Pascal's user avatar
  • 936
1 vote
1 answer
54 views

VS Code unable connect to remote host itself

I am using VS Code on Windows 10, connecting to a Linux host. Somehow I cannot connect to it anymore. It always disconnect itself at some stage and show me the message: Could not establish connection ...
Xingdi's user avatar
  • 71
0 votes
0 answers
32 views

VS Code Remote Tunnels Slow Not Loading All Assets

Here is an overview of the setup I'm trying to achieve and the issue. Setup I have a Local Network Host computer has WSL installed with my development environment in it. I setup "Remote Tunnel ...
Dan's user avatar
  • 2,299
0 votes
0 answers
107 views

VSCode Jupyter kernel crashes often. Exit message - `The Kernel crashed while executing code in the the current cell or a previous cell.`

For quite a while now I have been having a problem when running cells in a .ipynb file in VSCode. The issue is that I attempt to run a cell and it returns this error message directly underneath the ...
trizzo's user avatar
  • 33
0 votes
0 answers
15 views

open file using vscode from virtual machine

I am using mac terminal to ssh to a virtual machine. I am more comfortable using through terminal so what configurations can I make to open my files using vs code from that remote machine. eg ssh user@...
fatima parkar's user avatar
1 vote
0 answers
18 views

Can we use GUI program in Vscode SERVER?

I am using VSCode server in my android phone . I was trying to use turtle ( python package) . But when I ran the code it gave error . _tkinter.TclError : no display name and no $Display environment ...
PrashantRawatCoder's user avatar
0 votes
0 answers
17 views

VSCode file search keeps searching endlessly

I've tried to set up VSCode to be able to edit website files instead of having to use cPanel File Manager. To do so, I got the SSH FS extension, set up my remote ssh configurations and successfully ...
Muhammad Akmal Nazir's user avatar
0 votes
0 answers
49 views

Permission error when using Vscode and SSH to code python on a Raspberry Pi

So I'm trying to code a HiWonder MasterPi robot which is controlled by a Raspberry Pi using Vscode. I can use Vscode to ssh to the robot but when I try to code, and import HiWonder libraries which ...
Brad Nielsen's user avatar
0 votes
0 answers
24 views

Issue with using rmate on visual studio code - Unable to connect to TextMate on localhost:52698

I'm trying to create a remote connection with my server thru Visual Studio Code, I'm using https://marketplace.visualstudio.com/items?itemName=rafaelmaiolla.remote-vscode extension. I set everything ...
bolwan's user avatar
  • 1
0 votes
0 answers
44 views

VS Code remote doesn't display symbols (C++)

I installed VSCode on my remote host with the C/C++ extension pack. However, it seems that it doesn't display symbols properly, as the dropdown is empty apart from this message: "The active ...
glades's user avatar
  • 3,935
0 votes
0 answers
23 views

Do extensions have to be installed on VS Code server when using remote tunnelling?

I have recently attempted to set up tunnelling using vs codes' built-in extension. I read that when using the tunnel some extensions will run locally and some will run on the remote machine. Both ...
awgya's user avatar
  • 111
0 votes
0 answers
39 views

X server: in-container development in VSCode

I'd like to debug a desktop application (notably, this one, based on electron ) using VSCode's in-container feature. For this purpose, I'm using this dockerfile: FROM electronuserland/builder:wine-...
Starnuto di topo's user avatar
0 votes
0 answers
57 views

VScode server starts large number of processes

When I start VScode on my ssh server and open a workspace with files that take up a lot of storage, I get many processes (at least 10) >10GB in ~/.vscode-server/bin/hash/node. This especially ...
Jtech's user avatar
  • 1
0 votes
1 answer
106 views

How to ask Dev-Containers plugin of VSCode to use `sudo docker`?

I tried to use the Dev-Containers form VSCode to connect to my containers in a remote Linux Server. For security reason we cannot create a docker user group since the docker group grants root-level ...
Fissure Blue's user avatar
0 votes
0 answers
36 views

Can't ssh through command prompt after using ssh in visual studio code

When I ssh using the window's command prompt, it worked and in the .ssh folder it created a "known_host" file. I then used VScode ssh extension to remote control, and it created a "...
bellz's user avatar
  • 1
0 votes
0 answers
41 views

debug node js app & nuxt3 app on remote server with vscode

I am having issues getting node/vscode to map remote break points on ubuntu with a local windows ms edge / chrome. Remote server node v18.18.0 .js serverd from ${workspaceFolder}/subdir/myproject/...
art vanderlay's user avatar
-1 votes
1 answer
85 views

ssh keys issue & how to mounts as readonly in devcontainer.json? [closed]

i have windows as the host, working with devcontainer without wsl, created ssh key with custom name, let say id_github. and managed to set ssh-agent auto run, and can use git fetch with ssh key with ...
Asule's user avatar
  • 11
0 votes
1 answer
37 views

Using R radian only on my own machine, not on remote server with vscode

I have installed radian and am using it perfectly on my own machine. However, when I try to ssh into another terminal and run R, it won't run, as it can't find radian in the r.path given. I understand ...
Ana Catarina Vitorino's user avatar
0 votes
0 answers
16 views

vscode-remote isolated install

I am working in an isolated enclave, disconnected from Internet access. I want to install the VSCode Remote extension in this isolated enclave. Clearly I can download the plug-in to VSCode and install ...
user22730965's user avatar
0 votes
1 answer
247 views

How to upload file to remote SSH server in VScode on Windows without drag'n'drop?

I know how to do it with drag'n'drop, but I don't want to switch between applications instead of just right-clicking and using a choose-a-file dialog. I mean, it looks like a lack of some basic ...
Gennadii Belousov's user avatar
0 votes
0 answers
137 views

[Remote-SSH Bug]: Remote Extension host terminated unexpectedly three times within the last five minutes

I am connecting to my remote machine using the Remote-SSH extension in Visual Studio Code. Also I installed the C/C++ extension. Whenever the C/C++ extension is enabled, I am getting: Remote Extension ...
Prabhu's user avatar
  • 1
1 vote
0 answers
58 views

Mapping Versions of vscode extension ms-vscode-remote.remote-containers to its Source Code

I've been exploring the ms-vscode-remote.remote-containers extension for Visual Studio Code and am interested in understanding its linkage to the devcontainers organization on GitHub. Previously, the ...
Pino Huang's user avatar
0 votes
0 answers
160 views

Error when building vscode in container using "bash script/code.sh"

I am trying to build "vscode" using container and was referring to the documentation. But I am stuck on the bash script/code.sh command. It is giving me the following error: [3126:1009/...
gray's user avatar
  • 1
1 vote
0 answers
142 views

How Does One SSH Agent Forward with PuTTY's Pageant as SSH Agent in VSCode devcontainers Without Built-in Windows 10+ OpenSSH Client

Situation I've got an internal GitLab that I'm trying to interact with within a devcontainer in VSCode. On my host machine, I use PuTTY's Pageant as my SSH Agent. I'd like to forward my Pageant SSH ...
johhny tex's user avatar
0 votes
0 answers
74 views

How do I migrate a VS Code installation on WSL to portable mode?

Official documentation provided for VSCode Portable here only indicates how to get it working for Windows, Linux and Mac. On a Windows machine, I also use VSCode within WSL and notice that there are ...
Tryer's user avatar
  • 3,724
0 votes
0 answers
14 views

Opening remote files with Visual Studio Code using SSH from console [duplicate]

Is it possible to open files on a remote host, which is accessible via SSH console, using Visual Studio Code, similar to the way we can do it on a local machine using the "code filename" ...
Denver Toha's user avatar
1 vote
0 answers
89 views

Cannot copy text from tmux integrated terminal in update 1.82.2

I solved this issue of copying text from tmux window inside Visual Studio Code's integrated terminal by holding Option key but with the latest upgrade to 1.82.2 I am not able to copy the text from ...
romanzdk's user avatar
  • 1,012
0 votes
0 answers
23 views

Visual Studio Code Remote Explorer: Modifying Default Mamba Environment Activation

I am using Visual Studio Code's Remote Explorer to access my CentOS server, and I am using Mamba to manage my environments. I want to change the default environment that Mamba opens to from "base&...
Misakaheb's user avatar
0 votes
0 answers
28 views

Automatic authentication with VSCode Remote Tunnel on a cluster compute node

I came across this helpful post on VSCode Remote Tunnel on a cluster compute node. Is there a way to also automate the authentication (similar to ssh-key) such that one doesn't need to follow the ...
Guy Gaziv's user avatar
0 votes
1 answer
110 views

Meshcat port forwarding with VS Code

I'm running pydrake on a remote machine and trying to view the Meshcat visualizer GUI through port forwarding in VS Code. When I open the url in my browser, instead of seeing the Meshcat GUI, I just ...
Liqian's user avatar
  • 27
0 votes
0 answers
26 views

VS Code Server's github signin going to 127.0.0.1

I'm trying to setup a VS Code server with an apache proxy, and authentication, but when trying to sign into Github, it redirects to 127.0.0.1 I've tried setting http.proxy to my url, and fiddling with ...
Logan H's user avatar
  • 26
0 votes
0 answers
181 views

VS Code server(s) for 100 concurrent users

I would like to setup a configuration for a class of 100 students to run VS Code remotely on a linux server. The purpose of this is that so the students will use a controlled environment to discourage ...
Sudodude's user avatar
0 votes
1 answer
113 views

CANNOT find SSH Target in remote explorer (vscode)

vscode version:(version 1.82) installed extensions: Remote - SSH v0.106.4 Remote - SSH: Editing Configuration Files v0.86.0 Remote Development v0.24.0 WSL v0.81.3 I want to connect to the Linux server ...
S.Gao's user avatar
  • 1
0 votes
0 answers
66 views

Default value not being respected in devcontainer.json remoteEnv when using Docker Volume

I'm somewhat "cheating" in that I opened up a GitHub issue for this but am hoping to get a hit here on SO :) I'm using VS Code devcontainers and cloning a repo into a docker/dev volume. I ...
lebolo's user avatar
  • 2,130
-1 votes
1 answer
74 views

still got the ssh asking for password too many times and then fail the connection

vscode ssh remote extension by microsoft. I can ssh to the machine just fine, but can't vscode ssh to it. log code https://justpaste.it/be7wz i try all method, including delete the lock file. it was ...
Huynh Loi's user avatar
0 votes
1 answer
400 views

"code ." is not working in the command line for Visual Studio Code on Ubuntu 22.04 on WSL

I've been using Visual Studio Code to do some Python development in my Ubuntu 22.04 LTS distro for a few years now. I got started doing this by following this tutorial. Starting this morning though, ...
Aric's user avatar
  • 1
0 votes
0 answers
16 views

How to enable vscode-server's automatic update logs?

I'm stucked with the Remote-SSH extension which needs to be updated according to my client version. The automatic VSCode server update is starting but stay locked into the following state: I suspect ...
Fractaliste's user avatar
  • 5,797

1
2 3 4 5
18