14. Activate Bridged Networking¶
If biol300_2017 is running, log in and shut it down:
ssh -p 8015 hjc@dynamicshjc.case.edu sudo shutdown -h now
If biol300_2016 is running, shut it down as well:
ssh hjc@biol300.case.edu sudo shutdown -h now
In VirtualBox, select biol300_2017 and choose Settings > Network. Change the “Attached to” setting to “Bridged Adapter”. Under Advanced, verify that the MAC address matches the BIOL 300 Wiki’s (see Looking Up MAC Addresses for instructions).
Start biol300_2017 and log in using the new address:
ssh-keygen -R biol300.case.edu ssh hjc@biol300.case.edu
Fix the backup script. Log into the vbox account on DynamicsHJC:
ssh vbox@dynamicshjc.case.edu
and edit the file
vim /Volumes/CHIELWIKI/backups/biol300/2017/backup-biol300.sh
comment out the definitions for
REMOTESSHandREMOTESCPcontainingdynamicshjc.case.eduand uncomment the definitions containingbiol300.case.edu.Fix SSH authentication into the BIOL 300 Wiki from the vbox account. You will be asked to accept the unrecognized fingerprint of the virtual machine — this is expected — but you should NOT need to enter your password. The IP address is the static IP for biol300.case.edu, obtained using
host biol300.case.edu.ssh-keygen -R biol300.case.edu -R 129.22.139.44 ssh hjc@biol300.case.edu
If this works without you needing to enter a password, automatic authentication is properly configured. You should
logoutto return to the vbox account on DynamicsHJC, andlogoutagain to return to the virtual machine.Shut down the virtual machine:
sudo shutdown -h now
Using VirtualBox, take a snapshot of the current state of the virtual machine. Name it “Bridged networking enabled”.