Preface
Originally I just wanted to record pycharm, after all, vscode remote is a personal city (not
just for the sake of enrichment, I still write it up~
pycharm remote
Click Tools -> Deployment -> Configuration in turn to get the above interface, then add an SFTP connection, fill in the information and add the mapping on the mapping page.
Then also select Automatic Upload in Tools->Deployment, and then local changes will be automatically uploaded to the server. If you select Upload to xxx, the entire project folder will be synchronized to the server.
problem
If it appears (sftp: "Permission denied" (SSH_FX_PERMISSION_DENIED))
, chmod 777
try the entire mapping folder on the server