美文网首页
vscode设置ssh进行远程编辑

vscode设置ssh进行远程编辑

作者: 迷途大灰狼 | 来源:发表于2022-02-11 09:10 被阅读0次

1、去安装remote-ssh扩展

image image.gif

2、设置读取ssh文件位置(网上很多教程不设置这个,但我不设置的话,链接时候用户名会不对)

image image.gif

3、ctrl+alt+p 输入>找到如图选项确定

image image.gif

也可在界面上选择

image image.gif

4、选择add选项,添加对应链接信息

image image.gif image image.gif

5、选择连接进行链接即可

image image.gif

到这里就已经链接成功了,选择打开文件夹就可以打开服务器上的文件了

相关文章

网友评论

      本文标题:vscode设置ssh进行远程编辑

      本文链接:https://www.haomeiwen.com/subject/cfxokrtx.html