VsCode Remote SSH 默认是不支持 Alpine Linux 的,不过,对 Alpine Linux 进行一些改动,就可以实现,比较方便。
步骤如下:
$ apk del dropbear
$ apk add gcompat libstdc++6 openssh wget git
$ nano /etc/ssh/sshd-config
AllowTcpForwarding yes
PermitTunnel yes
{
"git.path": "/usr/bin/git",
}