Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using remote server in phpstorm [closed]

I currently use Komodo and work directly off a remote server. I have just discovered phpstorm and I want to start giving this a go.

My question is, how can I work off a remote server like in Komodo? I really couldn't understand how to do it!

like image 761
Becs Carter Avatar asked Jan 14 '13 01:01

Becs Carter


People also ask

Where is remote host in PhpStorm?

Getting access to the Remote Host tool windowView | Tool Windows | Remote Host - the tool window can be accessed this way after you have opened it using the Tools | Deployment | Browse Remote Host command. The tool window is available only when the FTP/SFTP/WebDAV Connectivity bundled plugin is enabled.

Can IntelliJ open remote project?

Since working remotely became a necessity, IntelliJ IDEA offers the Remote Development functionality to help you code, run, debug, and deploy your projects remotely.

How do I connect to an IntelliJ remote server?

Connect via SSH Download and install JetBrains Gateway. In the JetBrains Gateway wizard, select Connect via SSH to connect to a remote server. On the next page of the wizard, select the server to which you want to connect. If there is no IDE on the remote server, JetBrains Gateway will download it.


2 Answers

As @LazyOne commented, it's not possible right now. You can vote for the related feature request.

like image 191
CrazyCoder Avatar answered Nov 11 '22 09:11

CrazyCoder


PhpStorm (as of 7.1) does not support working directly on a remote server.

You should vote for the feature here as @CrazyCoder mentioned.


A temporary alternative for SFTP

You can use a SSHFS mount to work directly on files on a remote server. It isn't ideal, but I found it works ok.

I use the follow command and settings (on a mac).

To mount:

sshfs -o IdentityFile=~/.ssh/id_rsa [email protected]:/ ~/sshfs_mounts/example -oauto_cache,reconnect,defer_permissions,noappledouble,volname=example

To unmount:

umount ~/sshfs_mounts/example

For more info see http://benohead.com/mac-os-x-use-sshfs-to-mount-a-remote-directory-as-a-volume/

like image 43
Andy Fleming Avatar answered Nov 11 '22 09:11

Andy Fleming