zoukankan      html  css  js  c++  java
  • mac 下 vscode配置SFTP连接

    VScode中使用SFTP插件连接远程服务器进行文件修改

    下载SFTP插件后,使用Ctrl+Shift+P。输入SFTP,选择第一个将会生成简短的默认配置文件

    然后把sftp.json文件内内容换成以下配置:

    {
        "host": "远程服务器IP地址",
        "port": 22,
        "username": "远程服务器登录名",
        "password": "远程服务器密码",
        "protocol": "sftp",
        "agent": null,
        "privateKeyPath": null,
        "passphrase": null,
        "passive": false,
        "interactiveAuth": true,
        "remotePath": "远程服务器路径,如(/usr/local/...)",
        "uploadOnSave": true,
        "syncMode": "update",
        "ignore": [
            "/.vscode/",
            "/.git/",
            "**/.DS_Store"
        ],
        "watcher": {
            "files": "glob",
            "autoUpload": true,
            "autoDelete": true
        }

    }

  • 相关阅读:
    Debian9 升级至 Debian10
    FastApi学习(二)
    FastApi学习(一)
    uber_go_guide解析(三)(规范)
    uber_go_guide解析(二)
    uber_go_guide解析(一)
    Docker踩过的坑
    Goland 设置代码格式化
    Nginx集成Naxsi防火墙
    ubuntu14中配置tomcat8
  • 原文地址:https://www.cnblogs.com/csuwujing/p/9934603.html
Copyright © 2011-2022 走看看