AMI 2023 XFTP connect problem

0

i started a new AMI 2023 instance, and i can connect with putty with the key with ec2-user, but can't connect with xftp, it shows error: The selected user key is not registered in the remote host. Try again.

old AMI instance are works well, and all AMI 2023 have this problem

please help on this, thanks so much

Newbiee
asked 3 months ago148 views
2 Answers
0

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!

profile picture
EXPERT
answered 3 months ago
0

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.

Best,

Didier

profile pictureAWS
EXPERT
answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions