- Download the course .ova file and import it into the VirtualBox manager with
File -> Import Appliance. - Follow this tutorial: https://stackoverflow.com/questions/5906441/how-to-ssh-to-a-virtualbox-guest-externally-through-a-host to configure port forwarding on the VM. This is the critical resource!
- Start the VM in the VirtualBox manager.
- Run
sudo apt install sshd. It will automatically start. - I had to create RSA keys with ssh-keygen
- https://askubuntu.com/questions/639983/sshd-could-not-load-host-key
- https://confluence.atlassian.com/bitbucketserver/creating-ssh-keys-776639788.htm
- Run
sudo service ssh restart.
-
Wait awhile for the VM to boot up.
-
When starting VM, Windows security alert pops up, click allow on private network.
-
Run
ssh -p 3022 cs6340@127.0.1.1 -vvv.username: cs6340 password: student
Connection troubleshooting references:
- https://unix.stackexchange.com/questions/128894/ssh-exchange-identification-connection-closed-by-remote-host-not-using-hosts-d
- https://www.linuxquestions.org/questions/linux-networking-3/can%27t-ssh-to-remote-machine-connection-closed-by-remote-host-267052/
- https://linuxize.com/post/how-to-enable-ssh-on-ubuntu-18-04/