How to Develop on a Remote SSH Server from My Macbook
I am not good with Mac, and it does not seem to support many of the python libraries I want, hence the question.
Local Device: Macbook Pro
Target Machine: Remote GCP Instance (Ubuntu 22.04)
Local IDE: Pycharm Professional Edition 2024.3 (on the Macbook)
Desired Behaviour:
- Open and edit a project on the GCP instance with full Pycharm features (warnings, inspections etc.), basically, allowing me to forget that I am on a headless instance.
Constraints:
The security posture does not allow
- SSHFS to mount a remote directory as local
- Egress to jetbrains paths such as https://download.jetbrains.com from the remote Ubuntu instance
So basically, with these two constraints
- Prevents mounting it as local
- Prevents the remote IDE
What I have done
- Downloaded JetBrainsGateway-2024.3.tar.gz
- `Put` that in the GCP Ubuntu instance via sftp
So any workaround to have the desired behaviour I want? In particular, I looked through the instructions to set up the remote development environment, but cannot figure out a way to download all relevant tar.gz to scp into the remote.
Also, any other pycharm feature that can help me here?
Please sign in to leave a comment.
Hi Spider Man, please try following instructions on this page. Does it help?
Mikhail Tarabrikov many thanks for coming back on this, I will certainly try this.
But, I can also request my IT to whitelist certain domains for downloading packages (like how we have whitelisted pypi to install python packages). So to use PyCharm remote, is there any domain or website I can request whitelisted?