sftp配置

190 阅读1分钟

一:sftp

vscode 同步服务器端代码,ftp配置好后,在vscode里安装sftp,然后配置sftp,方便代码和服务端同步。如果上传速度慢,可以适当调整connectTimeout的值。

{
    "name": "project",
    "host": "0.0.0.0",
    "protocol": "ftp",
    "port": 21,
    "username": "username",
    "password": "password",
    "remotePath": "/",
    "uploadOnSave": true,
    "connectTimeout":10000,
    "ignore": [
        "**/.vscode/**",
        "**/.idea/**",
        "**/.git/**",
        "**/.DS_Store",
        "**/node_modules/**",
        "node_modules"
    ]
}

二:宝塔常用开放端口

8888
80
21
22
3306
443
6379
5672
15672
888
9501
39000-40000

三:ECharts图表集

www.isqqw.com/