Setting up networking on any linux machine from scratch
Main Issue:
At times when you install a new linux machine, you are not aware what is the logical name of the network adapter.
Solution:
#to know the logical name of the network interface
sudo lshw -C network
You are trying to install something like Openssh-server, it says not available in repository
Solution:
#to ensure all packages are updated such as ifconfig
sudo apt-get update
At times ifconfig is not present
Solution:
#to install ifconfig
apt install net-tools
Replace below eth0...