Ubuntu/WSL SSH Server Setup Guide | Remote SSH WSL

Channel:
Subscribers:
279,000
Published on ● Video Link: https://www.youtube.com/watch?v=VjkE4dqdHX8



Category:
Guide
Duration: 4:57
1,164 views
24


Want to remote control your Ubuntu WSL, or just access it abroad or over the network? Assuming it's been started, the OpenSSH server I'll show you how to set up and configure in this video should be automatically stated as well, meaning you can connect to it and control your Ubuntu WSL from abroad!

Port Forwarding Ubuntu WSL Guide: https://youtu.be/6XIewWXXSNs

Using the above, you can port forward the port you used and access it over the internet! I would recommend setting key based authentication and disabling password authentication first!!

Change port on 22.10+:
sudo mkdir -p /etc/systemd/system/ssh.socket.d

[Socket]
ListenStream=
ListenStream=2200

sudo systemctl daemon-reload
sudo systemctl restart ssh

Timestamps:
0:00 - Intro/Explanation
0:36 - Install OpenSSH server
0:58 - Customize options for OpenSSH server
1:10 - Enable SSH on WSL startup (systemd)
2:16 - Allow OpenSSH through the firewall
2:39 - Changing SSH port & Config
3:02 - Change SSH port on Ubuntu 22.10+
3:36 - Testing SSH on Ubuntu WSL boot
3:54 - Connecting to Ubuntu WSL SSH

#Ubuntu #WSL #SSH
-----------------------------
💸 Found this useful? Help me make more! Support me by becoming a member: https://youtube.com/channel/UCkih2oVTbXPEpVwE-U7kmHw/join
-----------------------------
💸 Direct donations via Ko-Fi: https://ko-fi.com/TCNOco
💬 Discuss the video & Suggest (Discord): https://s.tcno.co/Discord
👉 Game guides & Simple tips: https://YouTube.com/TroubleChuteBasics
🌐 Website: https://tcno.co
📧 Need voiceovers done? Business query? Contact my business email: TroubleChute (at) tcno.co

Everything in this video is my personal opinion and experience and should not be considered professional advice. Always do your own research and ensure what you're doing is safe.




Other Videos By TroubleChute


2023-05-07Fix Steam Must be Running | UPDATED | Error | Easy Guide
2023-05-07Change Download Region | UPDATED | Steam Guide
2023-05-07Fix Invisible Chat Window | UPDATED | Steam Guide
2023-05-07Fix Content Servers Unreachable | UPDATED | Steam Error Guide | Download Fix
2023-05-07Fix 0 Byte Download | UPDATED | Downloads won't start Fix | Steam Full Guide
2023-05-06Clear Download Cache | UPDATED | Can fix not launching/stuck downloads
2023-05-06Enable NEW UI Beta 😍 Complete Overhaul & Updated Look | Steam Guide
2023-05-04Fix "Out of Video Memory" | Fortnite & Other Game Simple Guide
2023-05-04NEW: Fortnite x Discord Skin Drop | Fortnite Discord Quest | Simple Guide
2023-05-04Create Snapshots of WSL | Backup & Restore | Simple Guide
2023-05-03Ubuntu/WSL SSH Server Setup Guide | Remote SSH WSL
2023-05-02How to Port Forward Ubuntu/WSL | Simple Windows Guide
2023-05-01Fix Grey Screen Quickly | Discord Windows Guide | Simple
2023-04-30Fix Dark Circles | Change Circle Colours | osu! Guide
2023-04-29Set up VOD Track/Separate VOD Audio in OBS Studio | Full Guide
2023-04-28Fix Hyper-V "PC doesn't meet requirements" | Windows 11 VM Install Guide
2023-04-27Fix Unprotected Private Key File | Fix Mac/Linux SSH not using Key File
2023-04-27Set up SSH Server on Windows | Remote Secure Shell + Key Based Authentication
2023-04-26🎨 Make WSL/Ubuntu Terminal Look Better | Oh My Posh Guide
2023-04-25🎨 Make Windows Terminal Look Better | Oh My Posh Guide
2023-04-24Ubuntu Desktop/GUI Apps on WSL | Updated Guide



Tags:
windows subsystem for linux
linux on windows
wsl 2
ubuntu wsl ssh server
ubuntu wsl ssh
wsl ssh server
wsl ssh
wsl
ubuntu
ssh
wsl ubuntu gui
wsl 2 ubuntu gui
ssh server on wsl
setup ssh server in wsl
wsl2 ubuntu gui
set up wsl 2
setup wsl 2
ubuntu wsl
ubuntu on windows
ssh server setup
ip static ubuntu server
wsl2 ubuntu
ssh in ubuntu
install ssh server windows
windows server ssh
ip static ubuntu wsl
setup ip static ubuntu wsl