[Cyberduck-trac] [Cyberduck] #10412: Unable to login with ECDSA key
Cyberduck
trac at cyberduck.io
Mon Jul 30 01:47:21 UTC 2018
#10412: Unable to login with ECDSA key
--------------------------------+-------------------------
Reporter: elliott balsley | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: sftp | Version: 6.6.2
Severity: normal | Keywords:
Architecture: Intel | Platform: macOS 10.13
--------------------------------+-------------------------
I'm unable to login to my SFTP server using an ECDSA public key. This key
is 521 bits and password-protected. This used to work fine with an RSA
key before I switched. The first time I connect, it says "Broken
transport; encountered EOF. The connection attempt was rejected. The
server may be down, or your network may not be properly configured.".
When I try again, it says "Exhausted available authentication methods."
I've tried in the latest 6.6.2 and this is what I get from the log:
{{{
Jul 29 18:40:31 fifteen Cyberduck[24028]: [reader] ERROR
net.schmizz.sshj.transport.TransportImpl - Dying because - Broken
transport; encountered EOF
net.schmizz.sshj.transport.TransportException: Broken transport;
encountered EOF
at net.schmizz.sshj.transport.Reader.run(Reader.java:57)
Jul 29 18:40:31 fifteen Cyberduck[24028]: [background-9] ERROR
net.schmizz.concurrent.Promise - <<authenticated>> woke to:
net.schmizz.sshj.userauth.UserAuthException: Broken transport; encountered
EOF
Jul 29 18:40:49 fifteen Cyberduck[24028]: [reader] ERROR
net.schmizz.sshj.transport.TransportImpl - Dying because - null
java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at
net.schmizz.sshj.signature.SignatureECDSA.encode(SignatureECDSA.java:96)
at
net.schmizz.sshj.userauth.method.KeyedAuthMethod.putSig(KeyedAuthMethod.java:74)
at
net.schmizz.sshj.userauth.method.AuthPublickey.sendSignedReq(AuthPublickey.java:74)
at
net.schmizz.sshj.userauth.method.AuthPublickey.handle(AuthPublickey.java:45)
at
net.schmizz.sshj.userauth.UserAuthImpl.handle(UserAuthImpl.java:142)
at
net.schmizz.sshj.transport.TransportImpl.handle(TransportImpl.java:500)
at
net.schmizz.sshj.transport.Decoder.decode(Decoder.java:102)
at
net.schmizz.sshj.transport.Decoder.received(Decoder.java:170)
at net.schmizz.sshj.transport.Reader.run(Reader.java:59)
Jul 29 18:40:49 fifteen Cyberduck[24028]: [background-10] ERROR
net.schmizz.concurrent.Promise - <<authenticated>> woke to:
net.schmizz.sshj.userauth.UserAuthException
}}}
And this is what shows in the sshd server log:
{{{
Jul 29 18:46:39 kodi sshd[4422]: error: buffer_get_bignum2_ret: negative
numbers not supported
Jul 29 18:46:39 kodi sshd[4422]: fatal: buffer_get_bignum2: buffer error
Jul 29 18:46:41 kodi sshd[4424]: Connection closed by 192.168.3.101
[preauth]
Jul 29 18:46:49 kodi sshd[4429]: Received disconnect from 192.168.3.101:
11: [preauth]
}}}
--
Ticket URL: <https://trac.cyberduck.io/ticket/10412>
Cyberduck <https://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows
More information about the Cyberduck-trac
mailing list