Posted inlinux

How to Install and Enable OpenSSH on Ubuntu?

You can install and enable OpenSSH on Ubuntu by following these steps:

Open a terminal window.

Run the following command to update the package list:

sudo apt-get update

Install OpenSSH by running the following command:

sudo apt-get install openssh-server

Once the installation is complete, OpenSSH should be automatically started. However, you can check its status by running:

sudo systemctl status ssh

This should show that OpenSSH is active and running.

If for some reason OpenSSH is not started, you can start it manually by running:

sudo systemctl start ssh

To enable OpenSSH to start automatically at boot, run:

sudo systemctl enable ssh

That’s it! OpenSSH should now be installed and enabled on your Ubuntu system.

I am Jaydeep Gondaliya , a software engineer, the founder and the person running Pakainfo. I'm a full-stack developer, entrepreneur and owner of Pakainfo.com. I live in India and I love to write tutorials and tips that can help to other artisan, a Passionate Blogger, who love to share the informative content on PHP, JavaScript, jQuery, Laravel, CodeIgniter, VueJS, AngularJS and Bootstrap from the early stage.

Leave a Reply

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

We accept paid guest Posting on our Site : Guest Post Chat with Us On Skype