ubuntu update through ssh code example
Example 1: linux os update
sudo do-release-upgrade
Example 2: update os ubuntu terminal
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo do-release-upgrade
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade