dartssh2 icon indicating copy to clipboard operation
dartssh2 copied to clipboard

auth with rsa privacy key. but have error: SSHAuthFailError(All authentication methods failed)

Open openUmbrella opened this issue 2 years ago • 7 comments

this is log:

flutter: SSHTransport._sendKexInit flutter: SSHTransport._processVersionExchange flutter: SSHTransport._remoteVersion = "SSH-2.0-OpenSSH_6.4" 2 flutter: SSHTransport._processPackets flutter: SSHTransport._consumeClearTextPacket flutter: SSHTransport._handleMessageKexInit flutter: SSHTransport._kexType: SSHKexType(ecdh-sha2-nistp521) flutter: SSHTransport._hostkeyType: SSHHostkeyType(ssh-rsa) flutter: SSHTransport._clientCipherType: SSHCipherType(aes128-ctr) flutter: SSHTransport._serverCipherType: SSHCipherType(aes128-ctr) flutter: SSHTransport._clientMacType: SSHMacType(hmac-sha1) flutter: SSHTransport._serverMacType: SSHMacType(hmac-sha1) flutter: SSHTransport._sendKexDHInit flutter: SSHTransport._processPackets flutter: SSHTransport._consumeClearTextPacket flutter: SSHTransport._handleMessageKexReply flutter: SSHTransport._consumeClearTextPacket flutter: SSHTransport._handleMessageNewKeys flutter: SSHTransport._sendNewKeys flutter: SSHClient._onTransportReady flutter: SSHClient._requestAuthentication flutter: SSHTransport._processPackets flutter: SSHTransport._consumeEncryptedPacket flutter: SSHClient._startAuthentication flutter: SSHClient._tryNextAuthenticationMethod flutter: _currentAuthMethod = SSHAuthMethod.publicKey flutter: SSHClient._authWithPublicKey flutter: SSHTransport._processPackets flutter: SSHTransport._consumeEncryptedPacket flutter: SSHClient._handleUserauthFailure flutter: SSHClient._tryNextAuthenticationMethod flutter: _currentAuthMethod = SSHAuthMethod.none flutter: SSHClient._authWithNone flutter: SSHTransport._processPackets flutter: SSHTransport._consumeEncryptedPacket flutter: SSHClient._handleUserauthFailure flutter: SSHClient._tryNextAuthenticationMethod flutter: SSHTransport.closeWithError SSHAuthFailError(All authentication methods failed)

I try to use FileZilla to connect, it's fine. So I don't know where I'm going wrong

openUmbrella avatar Dec 12 '22 11:12 openUmbrella