0

I want to use pycharm and make my own AI. However, I can only ssh into my server. Is there a way to use pycharm through the ssh interface?

I've tried searching around online for an answer but came back with nothing.

Also, my apologies if this is the wrong message board for this question. I still don't fully understand the rules of Stack Overflow/Ask Ubuntu.

I have tried running it using pycharm and pycharm-community to see if some kind of interface would pop up but again no cigar.

mpboden
  • 1,389

1 Answers1

0

If you use Xorg, then it is possible to run graphical applications over SSH using X11 forwarding. However, this is old technology, it is slow and, in particular, very insecure. You should not attempt this.

Instead, you may mount your network directory on the local file. Unfortunatelly, sshfs is not further developped, so prefer to use samba or rclone. Then, you can access and work on these files with your local installation of Pycharm.

Alternatively, you could synchronize the files locally and work on the local copy, then sync the files back. This ensures you will never be slowed down or even interrupted due to network issues, and you can even work off line. The simplest (and still reliable) way to synchronize between your local drive and the server is to use a tool like rsync or rclone. (Simpler, but not reliable and slower, is to simply copy/paste files back and to the server - not recommended). A more advanced way involves the use of a versioning system such as git, cvs or mercurial.

vanadium
  • 88,010