关于使用filezilla远程连接阿里云服务器Disconnected: No supported authentication methods available (server sent: pub

时间:2024-04-03 18:24:29

    我们在使用filezilla远程连接阿里云服务器时 报如下错误:

    Disconnected: No supported authentication methods available (server sent: publickey)

如下图:

关于使用filezilla远程连接阿里云服务器Disconnected: No supported authentication methods available (server sent: pub

  然后发现这是使用公钥认证报错,因为FileZilla默认的是使用的系统的公钥,这时要改成你自己在创建服务器的时候生成的那个(*.pem)文件就可以了,详细做法如下:

1.到你的阿里云服务器去生成**对:

关于使用filezilla远程连接阿里云服务器Disconnected: No supported authentication methods available (server sent: pub

关于使用filezilla远程连接阿里云服务器Disconnected: No supported authentication methods available (server sent: pub

点击确定后,会生成秘钥对,并且浏览器会自动下载   .pem文件

关于使用filezilla远程连接阿里云服务器Disconnected: No supported authentication methods available (server sent: pub

 记住.pem的位置 然后打开filezilla 新建站点 填写外网ip地址 端口22    协议选择SFTP  登录类型选择 秘钥文件  输入用户名 和选择刚才下载的pem文件 


           关于使用filezilla远程连接阿里云服务器Disconnected: No supported authentication methods available (server sent: pub


关于使用filezilla远程连接阿里云服务器Disconnected: No supported authentication methods available (server sent: pub


如上图流程,点击连接 直接连接成功 这样你就可以远程操作你的服务器了