• 1.在vscode 应用商店搜索 sftp 下载安装
  • 2.ctrl+shift+p 搜索sftp:config 生成sftp.json
  • 3.配置你的服务器信息
    {
    "name": "你新建的文件目录",
    "host": "服务器主机名称",
    "protocol": "sftp",
    "port": 22,
    "username": "XXX",
    "password": "XXX",
    "remotePath": "/XX/XXX",
    "uploadOnSave": true
    }
  • 4.点击左边生成的远程按钮 可以upload 远程服务器代码 下来
  • 5.映射名 C/Windows/System32/drivers/etc
    服务器主机ip 映射名 保存就可以了 这样就可以直接访问映射名 首先对对应目录采用 Revealin explorer
  • 6.下次进来更新代码 SFTP > sync remote->local


转载自:https://juejin.im/post/5c9d93cde51d45468f3fe617    作者:罗小猫爱学习

相关文章:

  • 2021-04-04
  • 2022-12-23
  • 2021-04-28
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-02
  • 2021-05-03
  • 2021-11-25
  • 2022-12-23
  • 2021-09-07
  • 2021-09-15
相关资源
相似解决方案