You can work over SSH having and running the code remotely. I will use a Python project as an example but it is right for any project that located remotely. It can be useful in some cases such as:
- Working from home. More smooth than using RDP.
- Using a laptop and having all on a PC will save HDD space and battery life in most cases.
- No need to setup project environment for another time.
- Can connect to containers such as docker.