Enable SSH in Ubuntu

Enable SSH in Ubuntu

First need to install openssh server

1
2
sudo apt update
sudo apt install openssh-server

Check the sevice to make sure it is running

1
sudo systemctl status ssh

Then connect to the server

1
ssh username@ip_address

To find the ip_address, use ifconfig command. If network is not enabled, then run dhclient command to configure an interface to Dynamic Host Configuration Protocol.