Questions tagged [vscode-remote-ssh]
107 questions
1
vote
0 answers
Can't push or pull from VS Code on remote SSH
I managed to connect to the remote via SSH, but I can't push or pull from VS Code.
This is the error that pops up:
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct…

Visovan Mihai
- 337
- 5
- 10
1
vote
0 answers
VScode remote SSH to a new Vagrant Box ending in error
I have setup a new vagrant box and I can connect to it using Vagrant SSH comand normally but I can't connect using reomte SSH from Visual Code.
Both Vagrant Boxes are Ubuntu(bento) boxes.
I've added second host to the ssh.config file in the very…

h00jraq
- 85
- 1
- 8
0
votes
1 answer
VS Code: I can Git Clone in VS Code terminal (Bash) using SSH but get permission denied (public key) in VS Code Source Control
I really need some help here. I am stuck trying to use the Source Control option in VS Code to clone a few git repositories. I can successfully clone them onto my C: drive via the bash terminal in VS Code using SSH without any issues. I run the…

Gdata0data0
- 43
- 6
0
votes
1 answer
Failed to establish Remote SSH with vscode
[10:42:13.122] Log Level: 2
[10:42:13.165] SSH Resolver called for "ssh-remote+66.29.137.58", attempt 1
[10:42:13.168] "remote.SSH.useLocalServer": false
[10:42:13.169] "remote.SSH.showLoginTerminal": false
[10:42:13.169]…

Michael
- 1
- 1
0
votes
0 answers
Using sudo when accessing files over SSH in VS Code
I am trying to edit files stored on my AWS EC2 server over SSH using Visual Studio Code. I have configured the connection as follows:
Host MyServer
HostName
User bitnami
IdentityFile…

Ondrej
- 1,610
- 3
- 19
- 34
0
votes
0 answers
Unable to remote-SSH times out in VSCode but am able to SSH while using Ubuntu and PowerShell
I am trying to use VSCode to SSH to a remote host but the connection always times out, I tried using Ubuntu and the connection works just fine, I installed PyCharm and the SSH connection works, tried completely wiping VSCode from my pc and…

Melodious09
- 1
- 1
0
votes
1 answer
How to make explorer in remote - shh extension in Visual Studio Code (VsCode) does show symlinks?
Is it possible to display a symbolic link in the Visual Studio Code file explorer when using Visual Studio Mode (VsCode)?
Currently I can login to the server and open the right forlder but cannot see the symlinks. This is needed because the data…

Charlie Parker
- 5,884
- 57
- 198
- 323
0
votes
1 answer
Can you set a VS Code terminal profile to automatically run commands upon opening?
I find myself in a position where it would be useful to open a VS Code terminal profile and have it automatically run certain commands.
The specific case is I want to set up a profile where it automatically ssh's into another machine. I am doing…

Noddy
- 1
0
votes
1 answer
VSCode SSH Remote useLocalServer is true while it should be false
For some reason, when I try to connect to a specific host in VSCode, I see that "remote.SSH.useLocalServer" is set to true, while the local user settings JSON has it explicitly set to false.
This makes the remote crash and unable to connect for this…

Anton Bogun
- 23
- 2
- 5
0
votes
0 answers
Killing other instances of Python script on Raspberry Pi
I have a Python script that starts up when Pi boots. However, it may be restarted remotely, or I may want to kill it before re-launching it from Visual Studio for debugging/further development. Therefore, when this script launches, it needs to check…

J R
- 227
- 3
- 8
0
votes
0 answers
How can I prevent the Explorer View from opening when opening a Remote-SSH window in VS Code?
When opening (or reopening) a Remote-SSH window in VS Code, the side bar is always expanded with the Explorer showing an "open folder" button. Is it possible to not show the sidebar upon login?

Jonatan Öström
- 2,428
- 1
- 16
- 27
0
votes
0 answers
VSCode Remote-SSH could not establish connection to "host"
I am working on a project that resides on a remote SSH server and I am trying to use Remote-SSH to work on the project in a local VS Code session. However, I am not able to work it out. When connecting to a host "host" after jumpy from a proxy, the…

Faiq Irfan
- 181
- 1
- 12
0
votes
0 answers
Why can't I delete the ~/.vscode-server directory even when there are no vscode processes found?
# Command won't succeed so I assume that a vscode process could be running
rm -rf ~/.vscode-server/
rm: cannot remove ‘/home/$USER/.vscode-server/bin/4cb974a7aed77a74c7813bdccd99ee0d04901215/vscode-server-linux-x64/node_modules/readable-stream’:…

shawn1874
- 1,288
- 1
- 10
- 26
0
votes
1 answer
How can I clone a Git repository using CLI when connected with SSH?
In local machine, I can clone organization private repository. But I can not in SSH.
How can I deal with this?
The github username and email are correct. And the error is related to usr, sock, ...
I tried to get access token but I can not get access…

RiverFishingman
- 13
- 4
0
votes
0 answers
QNAP NAS TS-431P2 cannot connect via VScode ssh
I need the functionality to be be able to connect to my QNAP NAS from win10 via ssh using VScode Remote-ssh.
In the process of running the ssh from VScode it seems that some command are not recognized by the
`NAS so the ssh connection is not…

Horia62
- 1