Create a Python project
Configuration Deployment, used to synchronize local files and remote files, in order to find the menu bar pycharm of: Tools> Deployment> Configuration
Click the + sign on the left side, then you can see the following configuration page, fill out the required content:
Remote configuration python interpreter, via File> Settings, open the Settings tab, click Project Interpreter, will become the right configuration page of Interpreter.
Click the gear icon, select Add, in a pop-up window in the playing information corresponding to the configuration shown in FIG:
Click Next, fill out the ssh password
Click Next, check the execute permissions for root, set the folder mapping
Click Finish, configuration is complete
Remote execution python file, and consistent results in the implementation of local content Linux: