第一步:File -- Setting(Ctrl+Alt+S)
第二步:
1)Project:D -- Project Interpreter -- 设置 -- Add -- SSH Interpreter
-- New server configuration -- Host -- Username
-- Existing server configuration -- Development configuration(选择你的主机) -- Host URL(自动填写) -- next
-- 文件夹(图标) -- Local Path(本地路径) -- Remote Path(远程服务器路径) -- OK -- Finsh
2)Build.Execution.Deployment -- Deployment -- + --
-- Name:(服务器IP地址) -- Type(SFTP) -- OK
-- Connection -- Type -- SFTP host -- User name -- Password -- Web server root URL
-- Mapping -- Local path -- Deployment path on server ‘IP’: -- OK
图文介绍:







本文详细介绍如何通过IntelliJ IDEA设置SSH Interpreter及SFTP部署,实现本地代码与远程服务器的同步。步骤包括设置Project Interpreter、创建SSH连接、配置Deployment等,适用于远程开发和部署场景。
1299

被折叠的 条评论
为什么被折叠?



