Openbracket

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:

  1. Check out this post I already wrote on how to forward a port on your VM for the host to hit.
  2. Download Cygwin.
  3. Start SSH on your server - Google around that. Will depend on your distro
  4. Open Cygwin and run this : ssh username@ipaddress
  5. 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:

  1. Windows + VirtualBox + Ubuntu + nodejs = hooray!
Filed under: PBBG Leave a comment
Comments (2) Trackbacks (0)
  1. Hurrah! Glad to hear that it is working for you.

  2. 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.


Leave a comment

(required)

No trackbacks yet.