My pycharm is expired. You can only use VScode. Let’s talk about how to use VScode to connect to the server.
-
InstallRemote SSHplugin.
-
Settings → Search ssh → Check this
-
Create a new connection here
will ask you to enter. You need to enterusername@地址+端口
. After entering this, open this config and you can see what you just entered. information, save it after making sure it is correct.
-
Click this link in the lower left corner
Then select connect to host
-
He will ask you to enter the password for the server just now. Entering is OK.
-
Now you can directly open the project on the server