尝试将EC-2实例(Bitnami Wordpress)与Filezilla连接

时间:2016-10-23 06:47:52

标签: wordpress amazon-web-services ssh

尝试通过Filezilla连接到AWS实例上的EC-2失败。以下是我在Filezilla网站管理员enter image description here

上设置的屏幕截图

以下是Filezilla的错误日志,调试日志设置为4

Trace:          CControlSocket::DoClose(64)
Trace:          CControlSocket::DoClose(64)
Trace:          CControlSocket::DoClose(64)
Trace:          CFileZillaEnginePrivate::ResetOperation(0)
Status:         Connecting to ec2-54-251-155-167.ap-southeast-1.compute.amazonaws.com...
Trace:          Going to execute /Users/zaidhumayun/Documents/FileZilla.app/Contents/MacOS/fzsftp
Response:   fzSftp started, protocol_version=6
Trace:          CSftpControlSocket::ConnectParseResponse(fzSftp started, protocol_version=6)
Trace:          CSftpControlSocket::SendNextCommand()
Trace:          CSftpControlSocket::ConnectSend()
Command:    keyfile "/Users/zaidhumayun/Desktop/FirstInstance.pem"
Trace:          CSftpControlSocket::ConnectParseResponse()
Trace:          CSftpControlSocket::SendNextCommand()
Trace:          CSftpControlSocket::ConnectSend()
Command:    open "ubuntu@ec2-54-251-155-167.ap-southeast-1.compute.amazonaws.com" 22
Trace:          Server version: SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.8
Trace:          We believe remote version has SSH-2 channel request bug
Trace:          Using SSH protocol version 2
Trace:          Doing ECDH key exchange with curve Curve25519 and hash SHA-256
Trace:          Server also has ecdsa-sha2-nistp256/ssh-dss/ssh-rsa host keys, but we don't know any of them
Trace:          Host key fingerprint is:
Trace:          ssh-ed25519 256 7e:1c:94:69:78:c9:13:a3:38:0d:07:54:e9:28:5b:3b
Command:    Trust new Hostkey: Once
Trace:          Initialised AES-256 GCM client->server encryption
Trace:          Initialised AES256 GCM client->server MAC algorithm (in ETM mode) (required by cipher)
Trace:          Initialised AES-256 GCM server->client encryption
Trace:          Initialised AES256 GCM server->client MAC algorithm (in ETM mode) (required by cipher)
Trace:          Pageant is running. Requesting keys.
Trace:          Pageant has 0 SSH-2 keys
Trace:          Successfully loaded 1 key pair from file
Trace:          Offered public key from "/Users/zaidhumayun/Desktop/FirstInstance.pem"
Trace:          Server refused our key
Trace:          Disconnected: No supported authentication methods available (server sent: publickey)

我不知道为什么它不接受我的密钥对实例。我需要做些什么来解决这个问题?有没有办法重新下载密钥对实例?因为根据亚马逊文档,您可以在实例启动时下载一次。

1 个答案:

答案 0 :(得分:0)

根据this page,用户名应为'bitnami',而不是'ubuntu'