- Mais recentes
- Mais votos
- Mais comentários
Sometimes, older versions of clients like Xshell or XFTP may not support the latest security protocols or configurations used by newer AMI instances. The solution could be as simple as updating your XFTP or Xshell to the latest version. Additionally, ensure that the username is correct for the AMI type you're using and that the private key permissions are properly set. It's also important to verify the key format and ensure it's compatible with XFTP.
For more info check this out: https://usa.uzbox.com/tech-nerd/xshell-logs-in-to-aws-ec2-the-selected-user-key-is-not-registered-on-the-remote-host-error-solution/
If this has answered your question or was helpful, accepting the answer would be greatly appreciated. Thank you!
Hi,
I'd advise you to follow this guidance to fix this problem: https://repost.aws/knowledge-center/ec2-linux-troubleshoot-sftp-connection
I'd also suggest that you read the doc regarding key registration on EC2 given the error message that you face.
- https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/replacing-key-pair.html
- https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html
Best,
Didier
Conteúdo relevante
- AWS OFICIALAtualizada há 10 meses
- AWS OFICIALAtualizada há 2 anos