清空缓存
C:\Users\DP\.vscode
C:\Users\DP\AppData\Roaming\Code
Remote - SSH 添加主机
- 在 PowerShell 中使用 SSH 连接到远程主机,将其添加到
known hosts
PS C:\Users\DP> ssh root@10.10.10.11
The authenticity of host '10.10.10.11 (10.10.10.11)' can't be established.
ECDSA key fingerprint is SHA256:IcdQmxoPTXc8Q4oW33nRVrQmr3BCvjt497omgYRXTEQ.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.10.10.11' (ECDSA) to the list of known hosts.
root@10.10.10.11's password:
- 在 VS Code 左侧远程资源管理器中使用 SSH 方式添加主机