Reputation: 546
I am accessing my Ubuntu machine through VPN (PPTP) with ssh and I installed on this machine openssh-server
. I would like to configure my PhpStorm 7.1.3 from my Windows 8.1 machine so I can access files on my remote Ubuntu server. I am trying to create New project from existing files...
. I am configure SFTP that works (PhpStorm can connect) but when I finish setting new project the PhpStorm won't download remote files. It is logging in, than collecting data and than nothing else. I also tried to download remote files manually by clicking Tools
> Deployment
> Download from remote
but nothing happened.
Is there anything that I need to set in my openssh-server
(the settings are default)? I also tried to log in as root but it didn't help. PhpStorm can see remote files (when I chose Project root
, Resource root
and so on) but it can't download them.
Thanks for any useful help or information in advance.
Upvotes: 0
Views: 3786
Reputation: 169
Unfortunately my reputation doesn't allow me to write a comment so I'm posting an answer. If the answer above doesn't help, try to fix sshd_config
UsePAM yes
PermitUserEnvironment yes
Subsystem sftp /usr/libexec/openssh/sftp-server
It helpmed me like a magic. And it's source is here: http://docs.midvision.com/LATEST/rapiddeploy-remoting/transport/jsch/issues.html
Upvotes: 1
Reputation: 546
As @LazyOne proposed I added my files manually via Remote Host tool
found in View > Tool Windows > Remote Host
. I was setting up Symfony2 project and while I have bad mappings in Deployment
settings it didn't working.
So for Symfony2 the mappings (Deployment > your web deployment settings > tab Mappings
) are as follows:
Local path: your/local/path Deployment path on server: / Web path on server: /web
After correcting my mappings I was able to synchronize/upload/download files via Remote Host window.
Upvotes: 0