Questions tagged [vscode-remote-ssh]

107 questions
0
votes
2 answers

How to forward an ssh port in vscode without the "ssh window"

Background I have a MySQL server running on a remote machine and am trying to debug a Django application running locally that connects to that remote database. Our team does this by forwarding the remote port 3306 to the local port 3308 using PuTTY.…
0
votes
0 answers

how to create a folder and place hosts under ssh targets in visual studio code remote ssh

I'm using visual studio code to connect multiple hosts across different datacenters. I'm not sure if this is something achievable but wondering is there a way we can group a set of hosts under a dropdown. Group A Host 192.x.x.x-hosta HostName…
sanjeeth
  • 105
  • 4
0
votes
0 answers

Is there a way in VSCode remote to confirm before auto download-on-click in explorer's file list?

In remote-ssh projects, there may be some large binary files (e.g., model.onnx). Currently if you click them by accident, VSCode will start to download them without confirmation, and you can never cancel the downloading. Is there a way to confirm…
Yujie Pan
  • 1
  • 2
0
votes
0 answers

vscode remote-ssh fails

Local: macOS 12.6, vscode1.72.2, remote-ssh v0.90.1 preview Server: Tencent Cloud Lightweight Server centOS7.6 Server ssh configuration is set: AllowTcpForwarding yes The local command line ssh connection server can be entered normally. The error…
0
votes
0 answers

Adding -c flag to ssh remote host with visual studio code

Simply, I am unable to mimic a ssh -c @ call with Remote SSH with VS Code. I allow the extension (Remote SSH) to auto-generate the config based off the input ssh command, yet the command is not replicated when the config file…
0
votes
0 answers

VSCode Remote-SSH Terminal colors not configurable

I have custom colors specified for my terminal in my vscode settings.json file. These colors work properly if I open up a terminal on my Windows PC in VS Code. But, when I use the Remote-SSH VS Code extension to connect to a remote linux server, and…
0
votes
0 answers

Visual Studio Code terminal has weird behavior when moving on the same line

I see characters being added / displaced when using the arrow keys to navigate on the same line in VS Code terminal. This only happens when I use remote ssh. Here's a recording of what happens: I tried to change some settings such as GPU…
mrtksy
  • 103
  • 1
  • 9
0
votes
0 answers

VSCode remote SSH: no unix session

I have a development server that only enables the HTTP server while I have an active session on it. The connection is configured in ~/.ssh/config, and VSCode uses this for the remote session as well: Host devserver HostName User…
0
votes
0 answers

cv2.waitKey(0) not responding in VS code SSH remote

I am trying to learn about Opencv on embeded Linux. Currently I am working on NXP i.mx8m. I used VS code in remote SSH. The first target is to display an image and destroy the window when pressed key "q", like usual. import numpy as np import…
yzhuad
  • 3
  • 1
0
votes
1 answer

ssh TUNNEL in VScode

I followed this official guide: https://code.visualstudio.com/docs/remote/ssh and I was able to setup my dev environment in vscode via remote ssh to my server. Now the issue is that I need to do SSH tunnelling trough my server to access another…
Fabio Magarelli
  • 1,031
  • 4
  • 14
  • 47
0
votes
1 answer

Vs code remote Ssh Connection issue

I have been using VS Code and connecting remotely from home on my company computer to our Centos System via using SmarTTy. But I want to use VS code Remote SSH instead of SmarTTy due to the fact that SmarTTy doesn't have a good UI and I think it's…
0
votes
1 answer

VSCode Remote SSH not working on non-standard port

I am trying to use the "Remote SSH" feature on a server that I have to connect to via a non-standard port. However, it is not working - the console output shows the following: [09:09:17.304] SSH Resolver called for host:…
fritzmg
  • 2,494
  • 3
  • 21
  • 51
0
votes
1 answer

Why VSCode enters infinite loop showing "extesion is disabled, would you like to enable and open the url?"

I develop an extenison and register onUri to receive the url "vscode:///". I publish the extension to the marketplace. When I open url in my webbrowser, the VSCode will be opened and ask me if need to install the extension. But when I…
0
votes
1 answer

Visual studio code remote-ssh code syntax highlight

I'm remotely connecting via Microsoft remote-ssh plugin on Visual code studio 1.65.2 on Manjaro Linux (rolling build 64-bit). I'm having trouble with syntax highlight, it does not work. I work otherwise locally or via mapped drives, but not over…
0
votes
0 answers

VS Code Remote SSH

I installed the Microsoft Remote - SSH extension and I am unable to SSH to an Ubuntu computer. I can SSH to the computer via putty no problem so I know it can do it. After selecting the extension in the bottom left corner, I select Connect to host…
Gandalf
  • 1
  • 2