To enable SSH on your Ubuntu 24.04 system, follow the steps below:
Step 1 : Update your package lists to ensure you have the latest information about available packages:
Step 2 : Install the SSH server package:
Step 3 : Start the SSH service:
Step 4 : Check the status of the SSH service to ensure it's running without any issues:
Step 5 : Enable the SSH service to start automatically at boot:
Step 6 : If you have a firewall enabled (like UFW), allow SSH traffic so that you can connect to your system remotely:
Step 7 : Test the SSH connection to verify that it's working correctly:
Congratulations! You have successfully enabled SSH on your Ubuntu 24.04 system.