zoukankan      html  css  js  c++  java
  • SFTP 文件配置

    sftp_config_file

    SFTP配置文件(Sublime Text 3 、VS Code)

    VS Code 的版本

    {   
        "host": "120.01.01.111",
        "port": 22,
        "username": "root",
        "password": "123456",
        "protocol": "sftp",
        "agent": null,
        "privateKeyPath": null,
        "passphrase": null,
        "passive": false,
        "interactiveAuth": true,
        "remotePath": "/www/wwwroot/web.1111.com/",
        "uploadOnSave": false,
        "syncMode": "update",
        "ignore": [
            "**/.vscode/**",
            "**/.git/**",
            "**/.DS_Store"
        ],
        "watcher": {
            "files": "glob",
            "autoUpload": true,
            "autoDelete": true
        }
    
    }
    

      

    Sublime Text 的版本

    {
        // The tab key will cycle through the settings when first created
        // Visit http://wbond.net/sublime_packages/sftp/settings for help
        
        // sftp, ftp or ftps
        "type": "sftp",
    
        "save_before_upload": true,
        "upload_on_save": true,
        "sync_down_on_open": true,
        "sync_skip_deletes": false,
        "sync_same_age": true,
        "confirm_downloads": false,
        "confirm_sync": true,
        "confirm_overwrite_newer": false,
        
        "host": "120.01.01.111",
        "user": "root",
        "password": "123456",
        "port": "22",
        
        "remote_path": "/www/wwwroot/www.11111.com/",
        "ignore_regexes": [
            "\.sublime-(project|workspace)", "sftp-config(-alt\d?)?\.json",
            "sftp-settings\.json", "/venv/", "\.svn/", "\.hg/", "\.git/",
            "\.bzr", "_darcs", "CVS", "\.DS_Store", "Thumbs\.db", "desktop\.ini"
        ],
        "file_permissions": "777",
        "dir_permissions": "777",
        
        //"extra_list_connections": 0,
    
        "connect_timeout": 30,
        "keepalive": 10,
        //"ftp_passive_mode": true,
        //"ftp_obey_passive_host": false,
        //"ssh_key_file": "~/.ssh/id_rsa",
        //"sftp_flags": ["-F", "/path/to/ssh_config"],
        
        //"preserve_modification_times": false,
        //"remote_time_offset_in_hours": 0,
        //"remote_encoding": "utf-8",
        //"remote_locale": "C",
        //"allow_config_upload": false,
    }
    

      PS:备注上传到的服务器要开启超级管理员模式,可进服务器系统控制台面板百度搜索如何开启。

  • 相关阅读:
    Linux下DNS服务器搭建详解
    Oracle 数据泵使用详解--精华版
    Oracle 数据泵详解
    数据泵
    Oracle11g数据库导入Oracle10g数据库操作笔记
    DNS服务器
    spring mvc发送请求404,不能进入处理方法,也不报错
    CentOS设置默认启动命令行(不启动图形界面)
    SQL Server 排序的时候使 null 值排在最后
    Git教程
  • 原文地址:https://www.cnblogs.com/yuobey/p/10499426.html
Copyright © 2011-2022 走看看