(and other IDEs.)
This document assumes a Linux-based host machine.
- Install OpenSSH Server on your host if you don't have it:
sudo apt install openssh-server
You can then check its status on your system:
sudo systemctl status ssh
- Open the SSH port if the firewall is enabled on your host machine:
sudo ufw allow ssh
- Test the SSH connection on your client machine (get the IP address with
ip a):
ssh username@ip_address
-
On the PyCharm welcome screen, select Remote Development. Alternatively, from the main menu, select File | Remote Development.
-
In the Run the IDE Remotely section, click SSH Connection.
-
Configure the connection with the username and IP address you tested with above.
-
Follow the prompts until you can find and open the project you want to work on in the host filesystem.
To disable SSH on your host machine later:
sudo systemctl disable --now ssh