VSCode SFTP Config
cài sftp và tạo file:
sftp.json
{
"name": "portainer",
"host": "portainer.AAA.com",
"protocol": "sftp",
"port": 22,
"username": "KingOfTheNorth",
"privateKeyPath": "/home/King/.ssh/id_rsa",
"password": "theKingOfTheNorth",
"remotePath": "/home/King/docker/homepage",
"context": "/home/aaa/homepage/config",
"uploadOnSave": true
}
Context: là local folder path
No Comments