ray-note/VSCode 连接 云服务器.md

9 lines
299 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

1. VSCode 安装 remote-ssh插件
2. 修改本地 /.ssh/config 配置文件
```
```
3. 在VSCode 通过插件连接即可
### 注意:服务器生成的密钥文教可能会导致 `Permissions 0644 for '/*.pem' are too open.`
解决办法 修改 ***密钥文件*** 的权限 `chmod 400 *.pem`