我在 AWS EC2 实例上设置了 Foogle Authenticator,这样,当我使用 .pem 文件通过 SSH 登录时,系统会提示我输入当前安全密钥。
我想知道是否可以配置 FileZilla 来向我询问安全代码,以便我可以使用 FileZilla(而不是纯终端)编辑我的 AWS EC2 上的文件。
FileZilla 日志
2:17:23 Status: Connecting to ec2-.....compute- 1.amazonaws.com...
12:17:23 Trace: Going to execute /Applications/FileZilla.app/Contents/MacOS/fzsftp
12:17:23 Response: fzSftp started, protocol_version=8
12:17:23 Trace: CSftpControlSocket::ConnectParseResponse(fzSftp started, protocol_version=8)
12:17:23 Trace: CSftpControlSocket::SendNextCommand()
12:17:23 Trace: CSftpControlSocket::ConnectSend()
12:17:23 Command: keyfile "/Users/.../...pem"
12:17:23 Trace: CSftpControlSocket::ConnectParseResponse()
12:17:23 Trace: CSftpControlSocket::SendNextCommand()
12:17:23 Trace: CSftpControlSocket::ConnectSend()
12:17:23 Command: open "[email protected]" 22
12:17:24 Trace: Server version: SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.8
12:17:24 Trace: We believe remote version has SSH-2 channel request bug
12:17:24 Trace: Using SSH protocol version 2
12:17:24 Trace: Doing ECDH key exchange with curve Curve25519 and hash SHA-256
12:17:25 Trace: Server also has ... host keys, but we don't know any of them
12:17:25 Trace: Host key fingerprint is:
12:17:25 Trace: ssh- :... uDt....=
12:17:25 Trace: Initialised AES-256 GCM client->server encryption
12:17:25 Trace: Initialised AES256 GCM client->server MAC algorithm (in ETM mode) (required by cipher)
12:17:25 Trace: Initialised AES-256 GCM server->client encryption
12:17:25 Trace: Initialised AES256 GCM server->client MAC algorithm (in ETM mode) (required by cipher)
12:17:25 Trace: Pageant is running. Requesting keys.
12:17:25 Trace: Pageant has 0 SSH-2 keys
12:17:25 Trace: Successfully loaded 1 key pair from file
12:17:25 Trace: Offered public key from "/Users/.../....pem"
12:17:25 Trace: Offer of public key accepted, trying to authenticate using it.
12:17:25 Trace: Further authentication required
12:17:25 Trace: Attempting keyboard-interactive authentication
12:17:25 Trace: Using keyboard-interactive authentication. inst_len: 0, num_prompts: 1
12:17:25 Command: Pass:
12:17:25 Trace: Keyboard-interactive authentication failed
12:17:25 Trace: Attempting keyboard-interactive authentication
12:17:25 Trace: Using keyboard-interactive authentication. inst_len: 0, num_prompts: 1
12:17:25 Error: Authentication failed.
12:17:25 Trace: CControlSocket::DoClose(1030)
12:17:25 Trace: CSftpControlSocket::ResetOperation(1094)
12:17:25 Trace: CControlSocket::ResetOperation(1094)
12:17:25 Error: Critical error: Could not connect to server
12:17:25 Trace: CFileZillaEnginePrivate::ResetOperation(1094)
答案1
您需要选择交互的为了“登录类型”在 FileZilla 站点管理器上。