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
질문됨 한 달 전145회 조회
1개 답변
1
수락된 답변

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
전문가
답변함 한 달 전
profile picture
전문가
검토됨 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠