I've seen issues like this when the key has been copy/pasted and an editor has added line-breaks. Could this be the issue?
Also confused about AMIs (Amazon Machine Images) in this context but it could be you're using an image that needs a specific user name.
- AWS OFICIALAtualizada há um ano
- Como faço para me conectar à minha instância do Lightsail usando o PuTTY ou o Filezilla se perdi o par de chaves SSH?AWS OFICIALAtualizada há 2 anos