How to Enable SSH on Linux Ubuntu (Easy Step by Step Guide) on WSL2

preview_player
Показать описание
In today's Linux tutorial, we will learn "How to Enable SSH on Linux Ubuntu" in an Easy Step by Step Guide on Windows Subsystem for Linux (WSL) version 2.

SSH, which stands for Secure Shell, is a widely used network protocol and cryptographic tool for securely connecting to and managing remote computers over an unsecured network. It provides a secure way to access a remote system, transfer files, and execute commands on a remote machine. SSH is a fundamental tool for system administrators, developers, and anyone who needs to access and manage remote systems securely.

🔥Commands Used in today's Video 🔥
🔴 PowerShell Port Forwarding Commands
=============================
netsh interface portproxy add v4tov4 `
listenport=22 `
listenaddress=0.0.0.0 `
connectport=22 `
connectaddress=172.19.41.90

🔴 Check Port Forwarding Status
=============================
netsh interface portproxy show all

🔴 Add a new firewall rule to enable the port on the host machine
=============================
netsh advfirewall firewall add rule `
name="Open Port 22 - WSL 2" dir=in action=allow protocol=TCP localport=22

Timestamps
=============================
0:00 ⏩ Intro

My Gear
=============================
Camera - Canon EOS T3i with EFS 18-55mm lens

Books Recommendation
=============================

Let's be friends
=============================

Send me fan mail and stuff
=============================
Wilfred Andrew Delamy
PO Box 861
Iroquois Falls ON P0K 1E0
Canada

WHO AM I:
I’m Wilfred, a Christian, husband to one wife, father of four children, 18+ years IT Professional working in Schumacher, Ontario, Canada. I started this channel in the loving memory of my maternal grandmother, Kou Louise Dahn Suah to share FOR FREE all that I have learned over the years in Information Technology. Through my grandmother's sacrificial life which put me in the position to be successful, I feel it is only fair that her legacy continues.

DISCLAIMER: As an Amazon Associate, I earn from qualifying purchases. It does not cost you anything extra to use them, but they help me to be able to create more videos for you. This help supports the channel and allows us to continue to make videos like this. Thank you for the support! 😜

#openssh #remotecontrol #wsl
Рекомендации по теме
Комментарии
Автор

Great article, step by step procedure.

freddie_barron
Автор

Hey Wil! Thank you for sharing this. I see that you used nano. Would you be willing to do this using vi as well?

PuniKM