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
        }

    }

  • 相关阅读:
    解决ERROR C2011: 'FD_SET' : 'STRUCT' TYPE REDEFINITION问题
    github简单使用教程
    Win32 多线程的创建方法和基本使用
    day 05
    day04
    day03
    day02
    day 06
    day_05
    day 05
  • 原文地址:https://www.cnblogs.com/csuwujing/p/9934603.html
Copyright © 2011-2022 走看看