CLIENT_UNAUTHORIZED [769] after update ubuntu

0

Hi, I'm trying access to my instance by lightsail browser ssh window, and I receive the error CLIENT_UNAUTHORIZED [769]

This happened after update to the last version of ubuntu.

I tried conecting via ssh by terminal, but

ubuntu@xx.x.xx.x: Permission denied (publickey).

I tried adding the lines in /etc/ssh/sshd_config, but still not works

   TrustedUserCAKeys /etc/ssh/lightsail_instance_ca.pub  

   CASignatureAlgorithms +ssh-rsa

how can I fix it?

Chervas
asked 25 days ago133 views
1 Answer
1
Accepted Answer

Hello.

The answers below may be helpful.
https://repost.aws/questions/QUVeeNlkylRxGFJDg4BGy_YQ/i-recently-have-created-an-instance-and-not-ssh-shows-an-error-after-update#ANzIxtnANAQ-axnDdIOPvpfQ

Since you probably cannot connect via SSH, you may be able to fix this by creating a snapshot and configuring the settings from the startup script when starting Lightsail from the snapshot.

Also, check out "You upgraded your Ubuntu instance version to 20.04 or later" in the following documentation:
https://repost.aws/knowledge-center/lightsail-resolve-ssh-console-errors

profile picture
EXPERT
answered 25 days ago
profile picture
EXPERT
reviewed 24 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions