You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/remote/containers.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -595,6 +595,7 @@ See the following examples dev containers for additional information:
595
595
* Alpine Linux or Windows container images are not yet supported. Most images come with a Debian or Ubuntu based flavor you can use instead. (Typically Alpine variations end in`-alpine`).
596
596
* All roots/folders in a multi-root workspace will be opened in the same container, regardless of whether there are configuration files at lower levels.
597
597
* The unofficial Ubuntu Docker **snap** package for Linux is **not** supported. Follow the [official Docker install instructions for your distribution](https://docs.docker.com/install/#supported-platforms).
598
+
* If you clone a Git repository using SSH and your SSH key has a passphrase, VS Code's pull and sync features may hang when running remotely. Either use a SSH key without a passphrase, clone using HTTPS, or run `git push` from the command line to work around the issue.
598
599
* Local proxy settings are not reused inside the container, which can prevent extensions from working unless the appropriate proxy information is configured (for example global `HTTP_PROXY` or `HTTPS_PROXY` environment variables with the appropriate proxy information).
599
600
600
601
See [here for a list of active issues](https://aka.ms/vscode-remote/containers/issues) related to Containers.
Copy file name to clipboardExpand all lines: docs/remote/ssh.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -169,6 +169,7 @@ VS Code's local user settings are also reused when you are connected to an SSH h
169
169
- Linux hosts must have Bash (`/bin/bash`), `tar`, and either `curl` or `wget` installed.
170
170
- PuTTY is not supported on Windows.
171
171
- You cannot drag files out of the File Explorer to your local filesystem to copy them.
172
+
- If you clone a Git repository using SSH and your SSH key has a passphrase, VS Code's pull and sync features may hang when running remotely. Either use a SSH key without a passphrase, clone using HTTPS, or run `git push` from the command line to work around the issue.
172
173
- Local proxy settings are not reused on the remote host, which can prevent extensions from working unless the appropriate proxy information is configured on the remote host (for example global `HTTP_PROXY` or `HTTPS_PROXY` environment variables with the appropriate proxy information).
173
174
- See [here for a list of active issues](https://aka.ms/vscode-remote/ssh/issues) related to SSH.
| Debian / Ubuntu | Run `sudo apt-get install openssh-server`| See the [Ubuntu SSH](https://help.ubuntu.com/community/SSH?action=show) documentation for additional setup instructions. |
239
239
| RHEL / Fedora / CentOS | Run `sudo yum install openssh-server && sudo systemctl start sshd.service && sudo systemctl enable sshd.service`| You may need to omit `sudo` when running in a container. |
240
240
241
+
### Resolving hangs when doing a Git push or sync on a SSH host
242
+
243
+
If you clone a Git repository using SSH and your SSH key has a passphrase, VS Code's pull and sync features may hang when running remotely.
244
+
245
+
Either use a SSH key without a passphrase, clone using HTTPS, or run `git push` from the command line to work around the issue.
You can also opt to extend your configuration instead to achieve the same thing without modifying your existing Docker Compose file. See [here for additional details](/docs/remote/containers.md#extending-your-docker-compose-file-for-development).
316
322
323
+
### Resolving hangs when doing a Git push or sync from a Container
324
+
325
+
If you clone a Git repository using SSH and your SSH key has a passphrase, VS Code's pull and sync features may hang when running remotely.
326
+
327
+
Either use a SSH key without a passphrase, clone using HTTPS, or run `git push` from the command line to work around the issue.
328
+
329
+
317
330
### Resolving errors about missing Linux dependencies
318
331
319
332
Some extensions rely on libraries not found in the certain Docker images. See the [primary containers article](/docs/remote/containers.md#installing-additional-software-in-the-sandbox) for a few options on resolving this issue.
@@ -560,6 +573,12 @@ You can add other file types in your repository that require CRLF to this same f
560
573
561
574
Finally, re-clone the repository for so these setting take effect.
562
575
576
+
### Resolving hangs when doing a Git push or sync from WSL
577
+
578
+
If you clone a Git repository using SSH and your SSH key has a passphrase, VS Code's pull and sync features may hang when running remotely.
579
+
580
+
Either use a SSH key without a passphrase, clone using HTTPS, or run `git push` from the command line to work around the issue.
581
+
563
582
## Extension tips
564
583
565
584
While many extensions will work unmodified, there are a few issues that can prevent certain features from working as expected. In some cases, you can use another command to work around the issue, while in others the extension may need to be modified. This section provides a quick reference for common issues and tips on resolving them. You can also refer to the main extension article on [Supporting Remote Development](/api/advanced-topics/remote-extensions) for an in-depth guide on modifying extensions when required.
Copy file name to clipboardExpand all lines: docs/remote/wsl.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -132,6 +132,10 @@ NodeJS Error: spawn EACCES (different variants of this error) | https://github.c
132
132
Webpack HMR not working | https://github.com/Microsoft/WSL/issues/2709 |
133
133
Firebase via node unusably slow only on WSL | https://github.com/Microsoft/WSL/issues/2657 |
134
134
135
+
### Git limitations
136
+
137
+
If you clone a Git repository using SSH and your SSH key has a passphrase, VS Code's pull and sync features may hang when running remotely. Either use a SSH key without a passphrase, clone using HTTPS, or run `git push` from the command line to work around the issue.
138
+
135
139
### Docker Extension limitations
136
140
137
141
The Docker extension is configured to run as a local "UI" extension that runs on the Windows side by default. This enables the extension to work with your local Docker installation when you are developing inside a container. However, some Docker commands invoked from the Docker extension can fail from a WSL window. If you want the Docker extension to interact with an installed Docker CLI in WSL instead, add the following to `settings.json`:
0 commit comments