Closed kdotwei closed 3 months ago
Please use the SFTP extension to address the current issue as a temporary solution. This extension allows you to synchronize files between your local machine and a remote server using the SFTP protocol, providing a convenient way to transfer files securely.
[!NOTE] You can make this directory anywhere and with any name on your computer.
2. Open this directory with VSCode.
3. Install this extension.
[!IMPORTANT] The author is Satiro Marra!
ctrl
+shift
+p
in VSCode. (Box with >
symbol.)sftp
and select the SFTP: config
sdc-id
is your VM ID with the tag sdc
.
[!TIP] When you log into your VM, you'll get this message on the terminal:
ansible@vm-id
.
The host is your server IP.
The login username. It is ansible
on your VM.
It is the path on the server you want to synchronize down to your computer.
[!CAUTION] Only
.vscode
here!
The private key path is ~/.ssh/id_sdc_300a10
and replaces ~
with the absolute path.
[!TIP] If you forget the absolute path of
~
, you cancd
to~
andpwd
to get the absolute path.
And save it.
[!NOTE] You don't need to change other settings.
Open the command box with ctrl
+shift
+p
in VSCode again.
And type sftp
, and select the SFTP: Sync Both Dirctions
.
You can develop locally, and the SFTP extension will sync your work automatically now.
If you encountered any problem, you are welcomed to paste the process and the current status in the comment.
Live discussion channel: Discord channel front-end-training
We change the MTU of each VM's interfaces, and @steveyiyo changes the mss on his router. All discussions are on the live channel front-end-training.
Issue
Remote SSH cannot connect to the SDC VMs.
Possible Problems
I trace the
install.sh
in the code-server installation script. I found it will get stuck while doing thecurl
to https://github.com/coder/code-server/releases/latest.