1、安装xshell,并能正常登录服务器

 

2、通过xshell生成秘钥

 

3、将生成的秘钥文件通过ftp放入Server中,并重命名为authorized_keys,并将权限改为600.

 

4、通过xshell登录选择密码验证方式

 

5、免密登录成功