Excellent software and practical tutorials

Xshell login AWS EC2 "The selected user key is not registered on the remote host" error solution
When using Xshell to remotely log in to an AWS server, you will encounter the error "The selected user key is not registered on the remote host". Basically, every novice will encounter the same error. So what exactly causes the error "The selected user key is not registered on the remote host" during SSH connection? Let's analyze the causes of the error in detail.