As my work on Lantern begins to leave testing tech and basic tests, my work flow quickly became shit where I was either developing code on windows and then having to move it to a shared folder or a usb, or attempting to develop on my virtual machine, which is far from fun. Luckily for me I work with people much smarter than me and one of them suggested ssh’ing into my virtual machine and using sftp to kept my files synced.
And this actually works really well for me and was fairly simple to set up, so here ya go:
- Check out this post I already wrote on how to forward a port on your VM for the host to hit.
- Download Cygwin.
- Start SSH on your server – Google around that. Will depend on your distro
- Open Cygwin and run this : ssh username@ipaddress
- Using Filezilla, you can SFTP into your VM using the same username/password you used in Cygwin.
And there ya go. Sanity maintained.