- Newest
- Most votes
- Most comments
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
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 Putty
How to resolve this first. Please help me.. Thanks in advance
Relevant content
- asked 5 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 10 months 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.