CUDA via Windows Subsystem for Unix SSH

I was wondering if anyone has been able to compile a CUDA app with Visual Studio (2008) and run it via SSH on Windows? I have tried, and nothing happens, it just returns me to the prompt. It’d be nice to run these via SSH as I compile and store my projects on dropbox, i.e. I can work on them from any computer that has visual studio and then run them on my machine at home.

It’s possible under linux - so I wonder if maybe there are some environment variables that need to be set for windows.