I'm running an Ubuntu 14.04 server, and would like it to also run another 14.04 server instance in a VM on it. (I need to use two VPNs on the same machine simultaneously)

I've tried using both KVM and virtual box, but I was never able to figure out how to ssh into the server once it was running. Almost all of the tutorials I've found use the GUI tools or tell you how to create a VM in the command line and then tell you to VNC into it. Any ideas?

| improve this question | | | | |

Take a look at this answer from StackOverflow, it was specific to windows but the commands are the same. You just need to enable port forwarding, and it should work just fine.


| improve this answer | | | | |
  • This didn't seem to work, I never made a user or set a password though. – Ian Hyzy May 9 '14 at 1:45
  • How can you ssh into a server without a username and password? :) – levlaz May 9 '14 at 2:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.