目录
1 Connect to a remote server from PyCharm
Connect to a remote server and open the remote project
3 Connect to a project running on WSL2
Connect to a remote server
连接到远程服务器
1 Connect to a remote server from PyCharm
1 从PyCharm连接到远程服务器
Make sure the System requirements for remote development are met.
确保满足远程开发的系统要求。
Since working remotely became a necessity, PyCharm offers the Remote Development functionality to help you code, run, debug, and deploy your projects remotely.
由于远程工作成为必需品,PyCharm提供了远程开发功能来帮助您远程编码,运行,调试和部署项目。
2 Connection via SSH
2 通过SSH连接
The connection to a remote server is done via SSH and can be started right from the welcome screen of PyCharm.
与远程服务器的连接是通过SSH完成的,可以直接从PyCharm的欢迎屏幕启动。
Connect to a remote server and open the remote project
连接到远程服务器并打开远程项目
-
1 Ensure you have the Remote Development Gateway plugin enabled.
确保您已启用远程开发网关插件。 -
On the PyCharm welcome screen, select Remote Development. Alternatively, go to File | Remote Development in the main menu.
在PyCharm欢迎屏幕上,选择Remote Development。或者,转到文件|主菜单中的远程开发。 -
Under SSH Connection, click New Connection.
在SSH连接下,单击新建连接。If you have the IDE already running on the remote server, and you have a connection link, you can use the Connect to Running IDE section.
如果IDE已经在远程服务器上运行,并且您有连接链接,则可以使用连接到正在运行的IDE部分。 -
Configure the remote server connection parameters and click Check Connection and Continue to make sure the connection to the remote server is successful.
配置远程服务器连接参数,然后单击“检查连接并继续”以确保与远程服务器的连接成功。