Issue
I am using Cygwin on Windows 10 to remotely connect to a Raspberry Pi. On the RPi I have scripts that I need to maintain. Currently, I connect with SSH and just use the native VI on the Pi. Needless to say this is a painful experience once you are used to using gVim. Alternatively, I edit locally and then copy the edited files over to the Pi. But this is cumbersome when done a lot of times.
How can I make the RPi file(s) available for editing on my Windows environment?
Solution
You can use open source software such as WinSCP. Then create a SFTP session. After that, you can browser in the filesystem of your server, localize the file you want to edit. You can do right click and open the file in your Windows environment with the editor of your choice.
At least is what I use in my work environment dealing with Linux servers and Windows as a main host.
Answered By - vsergi