Questions tagged [vscode-remote-ssh]

107 questions
0
votes
0 answers

Accessing shared network folders on a workstation via remote ssh in vscode

The situation is like this. I have a university workstation with access to a network-shared folder. I have to put my credentials to access the data in those folders. I mapped those folders to the workstation using the command net use in the CMD.…
0
votes
0 answers

Opening Files with VS Code remotely via remote-SSH connection in shared hosting not working

I have connected to a remote shared hosting server via remote-SSH extension in VS Code. The connection is successful and I can navigate through files and folders. I can create, edit and delete files using VS Code terminal but when I try to open any…
0
votes
2 answers

VS Code SSH Extension tries to connect on port 22 while custom port is set

So I've been using the VS Code Remote-SSH extension for around 2 years now, basically daily, and everything was working just fine. Now in the last couple of weeks, I've not been able to connect to a remote server using VS Code which has a custom…
KyleDev
  • 11
  • 1
  • 5
0
votes
0 answers

Can connect through terminal ssh, but vscode can't connect and keeps trying again

I can use the terminal ssh to connect to the server, but when I use vscode to connect, it keep retrying, the following is the specific log information [11:58:27.331] Log Level: 2 [11:58:27.392] VS Code version: 1.77.3 [11:58:27.392] Remote-SSH…
0
votes
0 answers

Could not establish connection to "".The VS Code Server failed to start

I want to connect via ssh to the raspberry pi 4, but it doesn't work even if I enter the data correctly. I keep getting this error.I also tried Remote SSH: kill VS Code Server on Host and Remote-SSH: Uninstall VS Code Server from Host. Neither…
0
votes
0 answers

Outline not show when working on a docker in remote

I am working on an attached docker on vscode. The docker container run in a remote machine in which I a am connected through the remote-SSH extension. When I open a python file for example the outline tab doesn't show anything. It works fine when I…
0
votes
0 answers

VsCode DevContainer extension gets stuck at "Start: Run in host: id -un"

I have a problem when run Dev Containers: Open Folder in Container... in a remote ssh server. It keeps stucking at Start: Run in host: id -un as in image below. enter image description here Some environment information: VSCode Version: 1.74.3 Local…
0
votes
0 answers

cannot connect with VSCodium Remote-SSH with set up 2FA

I've set up a Rasperry Pi 4b with Raspbian on it and installed + configured Google Authenticator for SSH. Also, I connect to it using a DDNS provider. It works like a charm when I connect to it from terminal. I get asked for my password and my…
0
votes
0 answers

vs-code: developing against a linux container, but passing in host user before building containers

Im using a remote linux devcontainer as my dev environment, but having a major issue. the container is built and run runs as the root user. i am mounting an external volume that is written to. i also install dbs that have external volumes that…
mike01010
  • 5,226
  • 6
  • 44
  • 77
0
votes
1 answer

How to source a shell script for a jupyter notebook with remote-ssh in Visual Studio Code?

I'm using Remote-SSH (Visual Studio Code Remote - SSH) in Visual Studio Code to connect to a server on which I write and run Jupyter notebooks. I am trying to use a library which requires some environment variables to be set by running source…
0
votes
0 answers

Unbound breakpoint in vscode for nodejs debugging with remote-ssh

I am develop nodejs in Linux using remote-ssh. Remote-SSH tutorial The program works fine, but it shows unbound breakpoint. The settings are as follows. package.json { "name": "myProject", "version": "0.1.0", "main": "my.js" "scripts": { …
James Kim
  • 23
  • 5
0
votes
0 answers

SSH remote connection in VS Code will not connect

Cannot connect remotely using VS Code via SSH in Linux Mint. Connecting to the remote server via SSH using Terminal works. I am using Remote-SSH extension. At first I tried to connect the same way as in terminal providing the host and password. That…
prager
  • 1
  • 1
0
votes
1 answer

How to stop open browser on server with react-app?

I'm facing an issue on remote development always opening the browser on Server side while I'm developing on client side. The setup is : a project created with create-react-app on my server machine. a vscode-server remote ssh setup on the same…
0
votes
0 answers

VS code, remote ssh unable to connect

I tried to follow the instructions from "VS Code Remote Development" to ssh into some Linux (RHEL 7 & 8) servers. Keep getting the same error: - Failed to connect to the remote extension host server (Error: spawn Unknown system error -8). The log…
0
votes
1 answer

How can I connect to a Remote SSH project from the command line?

TL;DR: Is there a way to connect to a SSH project with VS Code and Remote SSH extension from command line? I'm searching for a way to open a Remote SSH project in VS Code using command line. I used to open local projects in VS Code by running: # to…
thiagobraga
  • 1,519
  • 2
  • 15
  • 29