This code installs the appropriate SSH server and client type.
With this active, the SSH service will start and will listen continuously for actions from clients, like connection requests.
You should see an “active” status. If you don’t, you may need to restart your system and try again. To stop SSH, enter systemctl stop sshd and you’ll see an “inactive” tag. If you want SSH to automatically start whenever you reboot the system, enter: sudo systemctl enable sshd. Change “enable” to “disable” if you want to cancel the automatic setting.