Fixed CLIENT_UNAUTHORIZED [769] Debian 11 Amazon Lightsail SSH console

After multiple attempts of trying to fix CLIENT_UNAUTHORIZED [769] within Amazon Lightsail SSH console. I finally succeed. Still not 100% sure how. Why? Because what I did for one server didn’t seem to work on the other.

Updating my first Debian server I could have sworn I selected maintainers version of openssh server configuration file. But when updating second Debian server this definitively caused CLIENT_UNAUTHORIZED [769] error to reappear after updating. Only when I selected currently installed version – did second server update without an error when trying to log into Lightsail SSH control console.

On each server I did this step.

Edit /etc/ssh/sshd_config

sudo nano /etc/ssh/sshd_config

Add following 2 lines to /etc/ssh/sshd_config

TrustedUserCAKeys /etc/ssh/lightsail_instance_ca.pub

CASignatureAlgorithms +ssh-rsa

And then these instructions

#!/bin/bash

sudo apt-get remove openssh-client openssh-server

sudo apt-get install openssh-client openssh-server

Previously doing those steps had not resolved problem. I can only assume I must have selected maintainers version of file. Assuming that might be a more secure option versus possible modified file within server.

Using steps above and selecting currently installed version of openssh server configuration file – I no longer had an error when logging into console after update.

Both servers are now backed up in Amazon Lightsail Instance after I confirmed several times that console was working properly.

Web hosting Cloud services Domain registration Webdesign

CLIENT_UNAUTHORIZED [769] Debian 11 “bullseye” update breaks Amazon Lightsail console

Debian 11 Bullseye Breaks Amazon Lightsail Secure Console

Steps I used to resolve error are found here

That website and others were linked in my previous articles.

Leave a Comment

Your email address will not be published.