Question

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.

Was it helpful?

Solution 2

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.

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top