enable ssh ubuntu linux code example Example 1: enable ssh ubuntu $ sudo apt install ssh Example 2: enable ssh in ubuntu sudo apt-get update