VSCode 连接远程服务器出现的问题
parent
a116bf9736
commit
874f5f99a3
|
|
@ -1 +1,3 @@
|
|||
{}
|
||||
{
|
||||
"alwaysUpdateLinks": true
|
||||
}
|
||||
|
|
@ -18,8 +18,21 @@
|
|||
"source": false
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "7abb266d201c3bb5",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "VSCode 连接 云服务器.md",
|
||||
"mode": "source",
|
||||
"source": false
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"currentTab": 1
|
||||
}
|
||||
],
|
||||
"direction": "vertical"
|
||||
|
|
@ -85,7 +98,7 @@
|
|||
"state": {
|
||||
"type": "backlink",
|
||||
"state": {
|
||||
"file": "日志检索.md",
|
||||
"file": "VSCode 连接 云服务器.md",
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical",
|
||||
|
|
@ -102,7 +115,7 @@
|
|||
"state": {
|
||||
"type": "outgoing-link",
|
||||
"state": {
|
||||
"file": "日志检索.md",
|
||||
"file": "VSCode 连接 云服务器.md",
|
||||
"linksCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
}
|
||||
|
|
@ -125,7 +138,7 @@
|
|||
"state": {
|
||||
"type": "outline",
|
||||
"state": {
|
||||
"file": "日志检索.md"
|
||||
"file": "VSCode 连接 云服务器.md"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -146,11 +159,12 @@
|
|||
"command-palette:打开命令面板": false
|
||||
}
|
||||
},
|
||||
"active": "784f2fbfb6622f60",
|
||||
"active": "7abb266d201c3bb5",
|
||||
"lastOpenFiles": [
|
||||
"日志检索.md",
|
||||
"VSCode 连接 云服务器.md",
|
||||
"README.md",
|
||||
"web/现代WEB布局.md",
|
||||
"日志检索.md",
|
||||
"运维",
|
||||
"基础",
|
||||
"后端",
|
||||
|
|
|
|||
|
|
@ -0,0 +1,8 @@
|
|||
1. VSCode 安装 remote-ssh插件
|
||||
2. 修改本地 ~/.ssh/config 配置文件
|
||||
```
|
||||
|
||||
```
|
||||
3. 在VSCode 通过插件连接即可
|
||||
### 注意:服务器生成的密钥文教可能会导致 `Permissions 0644 for '/*.pem' are too open.`
|
||||
解决办法 修改 ***密钥文件*** 的权限 `chmod 400 *.pem`
|
||||
Loading…
Reference in New Issue