The publickey file is on my vps,and private key file is on my local pc.
/etc/ssh/sshd_config in my vps:
/etc/ssh/sshd_config
PubkeyAuthentication yes Authorize