How to install and enable SSH on Linux

preview_player
Показать описание
In this Linux how to video you will learn how to install and enable SSH server on systems running several popular Linux distributions (Debian, Ubuntu, Red Hat, CentOS, and Linux Mint). You will also learn how to use the SSH client to connect to an SSH server.

Enable and Install on Red Hat, Fedora, or CentOS:
Automatically has SSH installed and firewall open

Enable and Install on Ubuntu:
Install SSH:
sudo apt install ssh
Run SSH:
sudo systemctl enable --now ssh
Open SSH on Firewall:
sudo ufw allow 22/tcp

To run SSH on any Linux Distro:
Find IP address:
ip addr
Connect to SSH client (On other machine):

Connect with Don Pezet:

#HowToSSHLinux #LinuxEnableSSH #InstallSSHLinux
Рекомендации по теме
Комментарии
Автор

Absolutely beautiful. You didn't give an 20 minute dissertation on how to do this, like some others. Thank you.

josephjefferson
Автор

thank you, this is a great example of doing such tutorials

Justin-zwhx
Автор

Thank you so much for the video. I love Linux. The way you explain the use of each commend makes it easy to learn more. I have a request Sir. If you could please make another Capture the Flag tutorial that would be awesome.

tassoumaate
Автор

I like the intro music 🤙 it has that 'Linux is so cool' 😎theme. Good job guys!

katlegobopape
Автор

What is ufw is showing inactive after command sudo ufw status ?

tres
Автор

Thanks for explaining each command. As someone jumping into Linux it can get disorienting trying to understand what all the commands do at once.

whynotanyting
Автор

Hi there,
How can we verify the certificate on the other machine from the fingerprint that we have got on our machine(from which we are connecting) ????

shivaysabharwal
Автор

I'm trying to do the opposite. How do you disable ssh in ubuntu?

OJ-