1 Answer
- Newest
- Most votes
- Most comments
0
Hello, your problem can be resolve by adding the following properties and values to /etc/ssh/sshd_config
TrustedUserCAKeys /etc/ssh/lightsail_instance_ca.pub
PubkeyAcceptedKeyTypes +ssh-rsa-cert-v01@openssh.com,ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa-cert-v01@openssh.com,ssh-rsa
CASignatureAlgorithms +ssh-rsa
After you update the config file, you can run the following command to make sure you have a good config
sshd -T
After that, you can run the following command to restart sshd
sudo systemctl restart sshd
browser based ssh would be recover for your instance.
answered 2 years ago
Relevant content
- Accepted Answerasked 6 months ago
- asked a year ago
- asked 3 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 10 months ago