Ubuntu upgrade - CLIENT_UNAUTHORIZED [769] Error

0

Ubuntu 18.04 to 20.04. Got a message like terminated signal 9. After i rebooted manually getting error like "Log in failed. If this instance has just started up, try again in a minute or two. CLIENT_UNAUTHORIZED [769] ". Please help us to resolve this. Note we are using Lightsail

asked a year ago250 views
2 Answers
0

Follow the instructions in this document "You've upgraded from an older Ubuntu version to 20.04 or later" to configure "/etc/ssh/sshd_config".
https://repost.aws/knowledge-center/lightsail-resolve-ssh-console-errors
Make the following settings in "/etc/ssh/sshd_config".

CASignatureAlgorithms ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa

After setting, perform a syntax check using the following command.
If there are no problems, there will be no errors in execution.

sudo sshd -T

Finally, restart sshd with the following command.

sudo systemctl restart sshd
profile picture
EXPERT
answered a year ago
  • Hi @Riku, See terminal is not opening if it open only i can follow up your commands. Even using Putty not able to connect. My other instances connecting via putty. Only this after upgrading 18.04 to 20.04. im getting this issue.

  • If this happens, you probably can't even use SSH from a browser. It may be better to restore Ubuntu 18.04 from a snapshot and configure SSH before upgrading. By the way, are there any snapshots left? Restore Ubuntu 18.04 once if it remains.

0

Hi @Riku, See terminal is not opening if it open only i can follow up your commands. Even using Putty not able to connect![Log in failed .....] This screen shot is from Connect using SSH(/media/postImages/original/IMjY82cnyJR9GxAdu6CoMP-w)

While using PuttyPutty error

How to resolve this first. Please help me.. Thanks in advance

answered a year 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