I'm genuinely curious -- are IntelliJ-Rust questions on-topic or off-topic here?
On one hand, this is the 3rd or 4th time someone has politely suggested I post to IntelliJ forums.
On the other hand: (1) I've gotten quite a few helpful IntelliJ-Rust responses here and (2) it seems the main Rust editor choices are Vim/Emacs/VSCode/IntelliJ.
The fact that there's a Rust plugin in your IntelliJ setup means it's not, strictly speaking, off topic. But IntelliJ's ability to run commands remotely, I suspect, has little to do with the Rust mode or Rust itself. I could be wrong; I'll kick back and see if anyone has suggestions.
I saw it on news.yc but didn't draw the connection until you brought it up.
The most efficient way of developing Rust on a LInux machine from an OSX laptop may be to install VSCode / WSL (Window System for Linux) on the Linux machine itself.