See [here](https://www.google.com/search?q=gvfs).
It allows you to mount remote file systems, which to Geany just appear like any other file system. You could probably also just use SSHFS directory to mount a remote directory, which would also just appear to Geany as any other file system.