sudo apt-get install ssh code example Example 1: apt install openssh sudo apt-get install openssh-server Example 2: sudo service ssh start sudo service ssh start