Questions tagged [vscode-remote-ssh]
107 questions
1
vote
1 answer
VSCode RemoteSSH - connection timeout
Beginning today, I am unable to connect to my remote server in VSCode. The error in the output shows this repeating 5 times:
[15:34:11.799] SSH Resolver called for "ssh-remote+my-server", attempt 5, (Reconnection)
[15:34:11.805] SSH Resolver called…

tczx3
- 143
- 1
- 10
1
vote
1 answer
How does the local vscode client manipulate files in the remote machine?
With the remote-ssh extension, we can use vscode's remote development feature now, which means we can access the files in a remote machine from local vscode. And I found except the remote-ssh extension, there is a vscode-server working on remote…

Terry Chen
- 369
- 3
- 16
1
vote
0 answers
VSCode Meaning of : ptyhost warning Shell integration cannot be enabled for executable
In VSCode I connect from Windows to Ubuntu via the Remote SSH extension. I can open the VSCode Terminal window for 'bash' and I get to shell in the remote server.
But this message shows in the Log for Remote Pty Host:
[ptyhost] [warning] Shell…

TonyG
- 1,432
- 12
- 31
1
vote
1 answer
nohup doesn't work in VSCode integrated terminal in Remote SSH
I run scripts that take hours to complete in the background using nohup, so that they continue to run after I disconnect. For example nohup julia myscript.jl &> logfile.txt &. This works fine when I'm connected to the compute server over plain ssh.…

Boyan
- 11
- 1
1
vote
0 answers
visual studio code time out when jump server connecting target server
I need to connect the target server only via a jump server.
I can connect the jump server. But when the jump server connecting the target server, there is a popup window:Could not establish connection to "TargetMachine": The connection timed…

sjchasel
- 11
- 1
1
vote
1 answer
VSCode remote shh hangs on "git rebase --continue"
I have a problem with rebasing when works on the remote pc using remote-shh extension. When I finish rebasing and commit it git hangs up with the issue: "Waiting for your editor to close the file...". I configured git on my remote pc as git config…

Maxim
- 41
- 7
1
vote
0 answers
Cannot SSH to Remote on VSCode
My SSH setup was working fine for the past 3-4 months, until a few days back when it decided to stop working on vscode. I can still ssh to remote via powershell without any issues.
The Issue: Once I enter my passphrase and 2fa authentication,…

Richard Delwin
- 11
- 2
1
vote
2 answers
vscode remote ssh with Linux has a memory issue
Im using VSCODE remote ssh to connect Linux server.
and I sometimes build nuxt project and sometimes stop build process because of memory.
(PID 17984 is nuxt project.)
there are 6 processes about VSCODE remote ssh, even and They have much…

June
- 51
- 1
- 2
1
vote
0 answers
Host user tasks used on remote SSH side
Background:
At work I develop either in a virtual machine on my Windows laptop, or in a desktop workstation via a remote desktop app. Both environments are Ubuntu.
I have recently started to enjoy using VSCode, with the Remote SSH plugin. But I have…

Smartskaft2
- 468
- 3
- 16
1
vote
0 answers
VSCode : How to get remote-ssh output by api?
I want to get the output content of remote-ssh and analyze these logs in my extension.
I tried this method
let response = vscode.commands.executeCommand('opensshremotes.showLog');
console.log(response)
But the response is not the…

sunnysnow.hi
- 33
- 1
- 4
1
vote
0 answers
How to open a specified ssh host and get connect result or error message in my extension?
In my extensionm, I want to call remote-ssh api to open a remote host in a new window, and then get the connect result and error message, and then I want to parse the error message and suggest some fixes to users.
First I tried this method:
…

sunnysnow.hi
- 33
- 1
- 4
1
vote
0 answers
VSCode Error: Could not fetch remote environment. Failed to connect to the remote extension host server (Error: WebSocket close with status code 1006)
I have a VScode application and when i try to use the SSH Remote function to connect to external VMs, it comes up with this error:
Websocket Error in VScode (Windows 11)
Now, this just happened all of a sudden. I have always been able to use VSCode…

AmmoniaFlows
- 21
- 2
1
vote
3 answers
Remote-SSH in VS Code: The vscode server failed to start SSH problem
I use Remote-SSH to connect to my Macbook(Windows->Mac OS). It worked good, but one day the connection failed and I can't connect to my Mac afterwards. The Remote-SSH in my VS Code can still open connect to my linux machine.
The error log shows some…

karlpython
- 11
- 1
- 2
1
vote
0 answers
Can I customize the name of the open folder
when i use vscode remote ssh extension, I open an existing folder, dir is "/search/odin/lingxi/ec/trunk", name automatically become "trunk" , other folder dir is "/search/odin/lingxi/iq/trunk", name is "trunk" too, can i customize the name of the…

supermancui
- 11
- 2
1
vote
1 answer
VS CODE - Facing issue with installing C/C++ extension pack
I am trying to install C/C++ extension pack in ssh in VS code. Getting error as below. please help me on this. Also I have tried to delete .vscode-server folder in the remote server. But not able to remove : rm: cannot remove…

kishore babu
- 11
- 2