Enabling SSH Connections on Debian

in 3 simple steps…

Step 1: Update the package manager

sudo apt-get update

Step 2: Install the SSH server package

sudo apt install openssh-server

You can now check the status of the SSH service with the following command:

sudo systemctl status ssh

Step 3: Start and stop the SSH server

sudo service ssh stop
sudo service ssh start

To stop the SSH server indefinitely, type:

sudo systemctl disable ssh

Enjoy

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top