Questions tagged [vscode-remote-ssh]

107 questions
2
votes
2 answers

High system load due to .vscode-server processes

on our Linux servers we observe quite some .vscode-server processes (basically $PREFIX/.vscode-server/bin/$ID/node) from developers using the vscode-remote-ssh extension. Unfortunately these processes put considerable load onto the systems, due to…
2
votes
1 answer

VSC Remote SSH - How to fix reconnection problems?

When using VSC Remote SSH, I am constantly getting the error "Cannot reconnect. Please reload the window.". Upon clicking "Reload Window", the window reloads and I receive the same error. Sometimes I am also getting the following notification: "The…
1
vote
0 answers

Presistent remote python execution on VS Code

I'm using vscode to execute *.py and *.ipynb file on Linux machin through SSH remote. However, the session ends when my computer hibernates or encounters a connection lost. As the session is closed, the execution of jupyter notbook ceases, which is…
1
vote
1 answer

Resolver error: Error: Got bad result from install script

I am trying to connect via SSH using the Remote SSH extension in VS Code. However, the message "Setting up SSH Host xxxxxxxx: ([details]) Initializing VS Code Server" keeps appearing and I cannot establish the connection. Is there a solution to…
mm_mm
  • 11
  • 2
1
vote
0 answers

VS Code + Remote SSH + sh: bash: not found

I try to connect to but everytimes i have : [10:25:51.238] Got error from ssh: spawn C:\Program Files\Python310\ssh.exe ENOENT [10:25:51.689] > Admin@192.168.0.1's password:]0;C:\WINDOWS\System32\cmd.exe [10:25:51.689] Got some output,…
Manada
  • 61
  • 9
1
vote
0 answers

How to save ssh password for VS Code remote? (The server can only log in with a username and password, and does not support key pairs)

The server can only log in with a username and password, and does not support key pairs. so how to save password for VS Code remote?
wang qinci
  • 11
  • 1
1
vote
0 answers

AWS EC2 SSH connection drops and reconnect attempts time-out

This seems to be a huge issue that a lot of people are experiencing. I have yet to see a resolution. I am using VSCode with the Remote-SSH extension to access my ec2 instance. It worked perfectly for about 4 years. Then about a year to a year and a…
1
vote
0 answers

VSCode Remote SSH Got bad result from install script

After format, Remote SSH started giving errors and I cannot connect to my Ubuntu server. My windows account is the administrator account and I have access to cmd.exe. First, it gives the error "Resolver error: Error: Got bad result from install…
Rootzilla
  • 11
  • 2
1
vote
1 answer

vscode extensions need to re-install when I connect next time

When I use vscode Remote-SSH, I install some extensions in SSH server. But when I connect ssh several days later, the extensions have disappeared which means I have to install again. vscode-extensions like these: Python Pylance
luhao
  • 70
  • 7
1
vote
1 answer

VS Code:Remote SSH - How to open files from a clearcase dynamic view

I connect to my Oracle Linux build server using SSH from Windows Terminal, set the Clearcase view and then view/edit code using Vi. Now, I am trying to use Visual Studio Code - Remote SSH to connect to the server and edit code directly from Windows…
neoraghav
  • 13
  • 4
1
vote
0 answers

VSCode-Remote Tunnels Server Install Path

I'm using the vscode remote tunnels, which I believe are a relatively new feature. When I follow the instructions here, and connect to the tunnel, the .vscode-server directory gets installed in the root directory on the remote machine, but I would…
emv
  • 101
  • 1
  • 4
1
vote
0 answers

Command to attach to a running container in a remote ssh host

I would like to run a single command to attach to a running dev container in a remote ssh host. The current alternative is to use the GUI in the following way: >Remote-SSH: Connect to Host... -> new window -> ssh auth 1 >Dev Containers: Attach to…
1
vote
1 answer

How do I connect VSCode Remote Explorer to a Google Cloud instance

I have created a GCP Linux instance. I am running VSCode in Windows. I have run the following commands in the VSCode Terminal: gcloud auth login gcloud config set project ecxxxast-377213 gcloud config set compute/zone us-central1-a This command…
1
vote
1 answer

VS code remote-ssh extension EINVAL error

getting this strange popup error on selecting ssh key using remote-ssh vs code extension no remote connections have been successful since this error has began checked out my log file but didnt get much more information than the popup gave seems out…
cmdlanes
  • 11
  • 1
1
vote
0 answers

SSH via WSL in VSCODE to specific port

Referring to this thread Can I ssh from WSL in visual studio code? I'm able to ssh on port 22 but is there a way to specify a port via WSL also? my config: Host IP HostName IP ForwardAgent yes Port 2222 my ssh.bat C:\Windows\system32\wsl.exe…