Question

At the moment I'm developing using a simple editor, putty, and a VirtualBox instance of a linux server. I've heard good things about pydev and would like to try it, but I'd like to use the python install & terminal from my VirtualBox guest OS.

I'm already using a Shared Folder with VirtualBox so my Guest OS can see my local files.

Is it possible to tell pydev to use this "remote" host over SSH to execute its python-related commands?

UPDATE:

My main environment is windows, but I'd also like to be able to work this way on OS X.

Was it helpful?

Solution

I assume your host box is windows.

I also assume that pydev will run under linux (since it's eclipse based). Are you ok installing the dev environment on your linux server?

In which case:

  1. install and run xming on your windows box
  2. Install eclipse & pydev on your linux box
  3. Configure x forwarding in putty
  4. Run pydev through putty and you'll have the UI appear on your windows machine like normal

Then pydev will be running on the linux box quite happily, and so using the python environment on there.

Downsides: you will need to install the X libraries & java on your server (installing eclipse using your normal package manager should be enough), although you won't need to run X itself, since that's what Xming is for.

OTHER TIPS

UPDATE: Let me understand the situation, Windows is hosting the virtualBox which host the linux. You connect to the linux using putty. Python files are on the linux machine and you wish to edit them from your Windows using pydev. So either do that using the sharing features of virtual box (which can work for you in vboth ways) or use ssh to edit the linux files from windows. both options would be valid for MacOSx AFAIK

Below you cna find the way to do so over SSH

You map a netwrok drive over SSH and then you can access the files via that drive letter see more at

http://www.neophob.com/serendipity/index.php?/archives/103-Map-a-Network-drive-net-use-over-SSH.html

and

http://smithii.com/map_a_network_drive_over_ssh_in_windows

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