Securing SSH with Key Authentication | Simple Debian/Linux Guide

Опубликовано: 20 Февраль 2026
на канале: TroubleChute Linux
2,611
23

This video explains everything you need to know about securing your SSH shell for Linux/Debian with Key Authentication. This allows you to turn off password authentication and improve your SSH connection and server security.

View guide as text & Get commands for easy copy & paste: https://hub.tcno.co/linux/debian/key-...

ssh-keygen -t rsa -b 2048

PuTTYGen: https://www.puttygen.com/

sudo mkdir ~/.ssh
sudo touch ~/.ssh/authorized_keys
sudo chmod 700 -R ~/.ssh
sudo chmod 600 ~/.ssh/authorized_keys
sudo nano /etc/ssh/sshd_config
sudo service ssh restart

Timestamps:
0:00 - Intro & Why you want SSH Key Authentication
0:45 - Creating an SSH key in Debian
0:52 - Generating keypair using ssh-keygen
1:38 - Generating keypair with PuTTY
2:20 - Saving key on server
3:25 - Connecting to server with SSH VSCode + RemoteSSH
5:30 - Disabling password login
6:40 - Verify server is secure

#SSH #Linux #Guide
-----------------------------
💸 Found this useful? Help me make more! Support me by becoming a member:    / @troublechute  
-----------------------------
💸 Support me on Patreon:   / troublechute  
💸 Direct donations via Ko-Fi: https://ko-fi.com/TCNOco
💬 Discuss the video & Suggest (Discord): https://s.tcno.co/Discord
👉 Game guides & Simple tips:    / troublechutebasics  
🌐 Website: https://tcno.co
📧 Need voiceovers done? Business query? Contact my business email: TroubleChute (at) tcno.co
-----------------------------
🎨 My Themes & Windows Skins: https://hub.tcno.co/faq/my-windows/
👨‍💻 Software I use: https://hub.tcno.co/faq/my-software/
➡️ My Setup: https://hub.tcno.co/faq/my-hardware/
🖥️ My Current Hardware:
Intel i9-13900k - https://amzn.to/42xQuI1
GIGABYTE Z790 AORUS Master - https://amzn.to/3nHuBHx
G.Skill RipJaws 2x(2x32G) [128GB] - https://amzn.to/42cilxN
Corsair H150i 360mm AIO - https://amzn.to/42cznvP
MSI 3080Ti Gaming X Trio - https://amzn.to/3pdnLdb
Corsair 1000W RM1000i - https://amzn.to/42gOTGY
Corsair MP600 PRO XT 2TB - https://amzn.to/3NSvwzx
🎙️ My Current Mic/Recording Gear:
Shure SM7B - https://amzn.to/3nDGYo1
Audient iD14 - https://amzn.to/3pgf2XK
dbx 286s - https://amzn.to/3VNaq7O
Triton Audio FetHead - https://amzn.to/3pdjIgZ

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.