Skip to content

Instantly share code, notes, and snippets.

@perfecto25
Last active July 5, 2019 19:14
Show Gist options
  • Save perfecto25/598c9ac2bb1aee12538b1dad21494337 to your computer and use it in GitHub Desktop.
Save perfecto25/598c9ac2bb1aee12538b1dad21494337 to your computer and use it in GitHub Desktop.
SFTP vscode sample config
{
"name": "devsaltmaster",
"host": "devsaltmaster",
"protocol": "sftp",
"port": 22,
"username": "root",
"password": "xxx",
// or use "privateKeyPath": "/home/user/.ssh/id_rsa",
"remotePath": "/srv/saltstack",
"uploadOnSave": true,
"syncMode": "full",
"watcher": {
"files": "**/*",
"autoUpload": true,
"autoDelete": true
},
"syncOption": {
"delete": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment