- 最新
- 最多得票
- 最多評論
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
相關內容
- 已提問 6 個月前
- AWS 官方已更新 10 個月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前