20Jun/102
SSH'ing into Ubuntu on Virtualbox from Windows to maintain my sanity
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.
Related posts:
June 20th, 2010 - 15:15
Hurrah! Glad to hear that it is working for you.
June 28th, 2010 - 08:31
For some reason I’ve always had a hard time reassigning localhost to a VB server. Instead I prefer to set the VB server to use a static IP on the local network like 192.168.1.69 then access it at that address.
The bonus with that is that I then also forward port 80 in the router to that IP and then I can access the server from the internet if I am away from home.