[Cyberduck-trac] [Cyberduck] #9964: Too many authentication failures when using password

Cyberduck trac at cyberduck.io
Sun Oct 11 21:05:54 UTC 2020


#9964: Too many authentication failures when using password
-------------------------------------+-------------------------
 Reporter:  anshnd                   |         Owner:  dkocher
     Type:  defect                   |        Status:  reopened
 Priority:  normal                   |     Milestone:  8.0
Component:  sftp                     |       Version:  7.6.1
 Severity:  major                    |    Resolution:
 Keywords:  too many login failures  |  Architecture:  Intel
 Platform:  macOS 10.15              |
-------------------------------------+-------------------------
Changes (by danmichaelo):

 * status:  closed => reopened
 * cc: danmichaelo@… (added)
 * platform:   => macOS 10.15
 * version:  6.0.4 => 7.6.1
 * milestone:  6.2.9 => 8.0
 * resolution:  worksforme =>


Comment:

 This issue has plagued me for a long time, to the extent that I use sshfs
 most of the time instead. If I check my server logs, I can see that
 Cyberduck tries all my ssh keys:

 {{{
 Oct 11 20:53:30 [REDACTED] sshd[29300]: Connection from [REDACTED] port
 56376 on [REDACTED] port 22
 Oct 11 20:53:31 [REDACTED] sshd[29300]: Failed publickey for pimcore from
 [REDACTED] port 56376 ssh2: RSA SHA256:[REDACTED]
 Oct 11 20:53:31 [REDACTED] sshd[29300]: Failed publickey for pimcore from
 [REDACTED] port 56376 ssh2: RSA SHA256:[REDACTED]
 Oct 11 20:53:31 [REDACTED] sshd[29300]: Failed publickey for pimcore from
 [REDACTED] port 56376 ssh2: RSA SHA256:[REDACTED]
 Oct 11 20:53:31 [REDACTED] sshd[29300]: Failed publickey for pimcore from
 [REDACTED] port 56376 ssh2: RSA SHA256:[REDACTED]
 Oct 11 20:53:31 [REDACTED] sshd[29300]: Failed publickey for pimcore from
 [REDACTED] port 56376 ssh2: RSA SHA256:[REDACTED]
 Oct 11 20:53:31 [REDACTED] sshd[29300]: Failed publickey for pimcore from
 [REDACTED] port 56376 ssh2: RSA SHA256:[REDACTED]
 Oct 11 20:53:31 [REDACTED] sshd[29300]: Failed publickey for pimcore from
 [REDACTED] port 56376 ssh2: RSA SHA256:[REDACTED]
 Oct 11 20:53:31 [REDACTED] sshd[29300]: Failed publickey for pimcore from
 [REDACTED] port 56376 ssh2: RSA SHA256:[REDACTED]
 Oct 11 20:53:31 [REDACTED] sshd[29300]: error: maximum authentication
 attempts exceeded for pimcore from [REDACTED] port 56376 ssh2 [preauth]
 }}}

 Despite that I did set

 {{{
 Host [REDACTED]
   PreferredAuthentications password
   PubkeyAuthentication no
 }}}

 Command line sftp and sshfs works fine. Let me know if I can provide more
 information to help debugging this. I did try enable debug logging, but it
 didn't seem like it provided much additional information.

 {{{
 feil    22:53:31.318581+0200    Cyberduck       Dying because - Too many
 authentication failures
 standard        22:53:31.320296+0200    Cyberduck
 net.schmizz.sshj.transport.TransportException: [PROTOCOL_ERROR] Too many
 authentication failures
 standard        22:53:31.320343+0200    Cyberduck               at
 net.schmizz.sshj.transport.TransportImpl.gotDisconnect(TransportImpl.java:565)
 standard        22:53:31.320379+0200    Cyberduck               at
 net.schmizz.sshj.transport.TransportImpl.handle(TransportImpl.java:521)
 standard        22:53:31.320413+0200    Cyberduck               at
 net.schmizz.sshj.transport.Decoder.decode(Decoder.java:113)
 standard        22:53:31.320450+0200    Cyberduck               at
 net.schmizz.sshj.transport.Decoder.received(Decoder.java:203)
 standard        22:53:31.320480+0200    Cyberduck               at
 net.schmizz.sshj.transport.Reader.run(Reader.java:60)
 }}}

 I'm using Cyberduck 7.6.1, but this has been an issue for a long, long
 time.

--
Ticket URL: <https://trac.cyberduck.io/ticket/9964#comment:10>
Cyberduck <https://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows


More information about the Cyberduck-trac mailing list