Wednesday, April 29, 2020

How To Enable SSH (Secure Shell) On Ubuntu 20.04 LTS Desktop

Video Tutorial - https://youtu.be/IhzjiyFVQy0

 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Secure Shell (SSH) is a cryptographic network protocol used for a secure connection between a client and a server.
In this tutorial, you will learn how to enable SSH on an Ubuntu Desktop machine. Enabling SSH will allow you to remotely connect to your Ubuntu machine and securely transfer files or perform administrative tasks.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Os : Ubuntu 20.04 LTS (focal fossa) 64Bit   |  Hostname: www.yourdomain.com   | IP Address of Server:192.168.1.50
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
lsb_release -cd  ; getconf LONG_BIT ; hostname ; hostname -I && apt install -y build-essential net-tools curl git software-properties-common

apt -y install openssh-server

nano /etc/ssh/sshd_config
PermitRootLogin no

systemctl restart ssh ; systemctl status ssh

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

No comments:

Post a Comment