Fix for SSH Permission Denied (Public Key)
Susan B.
@codewithsusanAbout
To-the-point tech guides. https://codewithsusan.com
Latest Posts
Video Description
Troubleshooting steps for the error "Permission denied (publickey)" when attempting to SSH into a remote server. This guide assumes you have already gone through the steps of setting up SSH keys, but they’re just not working. If you haven’t already set up your keys, start here: Creating a SSH key connection with a server - https://youtu.be/k7Q-QfiOPLk. ⭐ NOTES ⭐ https://codewithsusan.com/notes/ssh-permission-denied?r=yd ⏱️ CHAPTERS ⏱️ 00:00 Introduction - SSH key pair basics 01:21 Check your keys are a match 03:38 Make sure SSH config is using our key 04:49 Attempt SSH connection with verbose output 05:54 Accessing server to check public key from another computer 07:03 Accessing server via a password 08:46 Accessing server via server provider console 09:40 Check public key in ~/.ssh/authorized_keys 11:29 Confirming we can now SSH in 12:05 Recap 📺 RELATED VIDEOS 📺 Creating a SSH key connection with a server https://youtu.be/k7Q-QfiOPLk Command Line Basics for Web Developers (Terminal / Git Bash) https://youtu.be/S0XegNhpTs8 Simple Command Line Text Editing with Nano https://youtu.be/fIl8jAfqsbg
Upgrade Your Gear Today
AI-recommended products based on this video

SmallRig FX3 / FX30 HawkLock Quick Release Camera Cage Kit for Sony with Cable Clamp, Bulit-in QR Cold Shoe NATO Rail/QR Plate for Arca, Modular Design Compatible with Original XLR Handle - 4770

SmallRig ZV-E1 Camera Baseplate for Sony ZV-E1, Built-in Cold Shoe Mount and QR Plate (for Arca) Quick Switch Between Tripod and Stabilizer for DJI RS 2 / RSC 2 / RS 3 / RS 3 Pro - 4314

SmallRig ZV-E10 II Base Plate for Sony Alpha ZV-E10 II, Bottom Mount Plate with Quick-Release Plate for Arca, QD Socket, Hand Strap Hole, 1/4"-20 Threaded Hole - 4950

SmallRig Baseplate for Sony Alpha 6700, Bottom Mount Plate Built-in Quick Release Plate for Arca, Supporting Quick Switch Between Tripod and Stabilizer (for DJI RS 2 / RSC 2 / RS 3 / RS 3 Pro) - 4338

Wireless Lavailer Microphone for iPhone, Android, Camera, iPad, USB C, 4 in 1 Professional Mini Microphone with Noise Reduction, Wireless Mic for Video Recording, Vlog, YouTube, TikTok

3-in-1 Professional Wireless Lavalier Microphone for iPhone, Android, Camera – 328ft Range, 20H Battery, Wireless Microphones, Noise Canceling for Recording, Live Streaming, YouTube, TikTok

BKNOOU Crossbody Bag for Women Small Purses for Ladies Crossbody PU Leather Shoulder Handbag with 2 styles Adjustable Strap

Small Leather Crossbody Bag, Mens Shoulder Bag, Office Business Magnetic Buckle Adjustable Strap

FuninCrea Mens Sling Bag, Oxford Chest Bag Shoulder Bag with Adjustable Shoulder Straps



