Ethernet Management – SSH
Time to complete: ~1.5-2 hours
Welcome back! In this installment of the Linux Upskill Challenge we’ll be completing a few tasks:
- Configuring VirtualBox to allow traffic from our VM to our local network.
- Patching the system.
- Install SSH and test access.
- Configure SSH for remote access in a more secure way.
- Review some basic commands that let us gain insight into our system.
VirtualBox Ethernet Settings
VirtualBox by default put our vm onto a segregated network that it created specifically for this vm. While our vm can access the Internet through this connection we cannot speak to it from any devices on our local network. The goal here is to access our Ubuntu box via SSH (secure shell protocol) from another machine, and for that we need network accessibility. While my vm can hit network objects on my local LAN I cannot see my vm from my local LAN. To make the change in VirtualBox do the following:
Now that we have that out of the way done start up your vm and log in. Let’s check the IP address, shall we? Run this command:
ip address show
You should get the following output:
Verify that the IP of your vm is part of your local subnet and if so we are clear to move on.
I’m just a normal sysadmin type guy who likes cybersecurity a lot.