So I've gone through my notes and tried to install the Oracle virtual box that can run Ubuntu. Additionally I've been having issues with using SSH, the really long details for the process of setting up are a little fuzzy. But I think I did them correctly mainly setting up the sshd_config file to not listen on port 22 and pick a new port number that's over 1000. But whether it's using PuTTY to connect to my VM or the Windows terminal to my VM, I can't establish a connection. Most of the time it's either a connection timed out problem or the port number 1234 refused (1234 is the number I chose as the listening port). I've also done a ping command of both IP's and both my laptop and the VM can ping each other no problem. I've also on my VM performed the firewall command: sudo ufw allow port 1234/tcp and other firewall configurations. And for all this preparation I'm still unable to ssh from my computer into my VM. Is there anything I might be forgetting?
Side question, does my VM have to be on if I want to connect to it via another machine?