How to Add a New SSH Key to a Server (Even If You Can't Access It)

HomeOther ContentHow to Add a New SSH Key to a Server (Even If You Can't Access It)
How to Add a New SSH Key to a Server (Even If You Can't Access It)
How to Add a New SSH Key to a Server (Even If You Can't Access It)
In this tutorial we will see how to regain SSH access to a server or add a new SSH key to a server even if you cannot currently access it.

Read the article here: https://codebubb.com/posts/recover-ssh-access/

Get 200 free Digital Ocean credits using this link! https://www.juniordevelopercentral.com/digitalocean

The example in the video uses Digital Ocean, but most other services should give you some sort of recovery option so you can connect to the server and do a reset of some sort.

00:00 The problem
00:41 The recovery console
02:02 Selecting the user account to reset
03:05 Retrieving the user's public key
03:20 The problem with Macs
04:10 Uploading to bashupload
05:20 Extract file from bashupload
06:35 Updated authorized_keys
07:01 Connection 🙂

Please take the opportunity to connect and share this video with your friends and family if you find it useful.

No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *