Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure using RSA/ECDSA private in new OpenSSH format #10552

Closed
cyberduck opened this issue Dec 5, 2018 · 5 comments
Closed

Failure using RSA/ECDSA private in new OpenSSH format #10552

cyberduck opened this issue Dec 5, 2018 · 5 comments
Labels
bug fixed high priority sftp SFTP Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

cyberduck commented Dec 5, 2018

@dkocher created the issue

Failure message Bad item length: 1183579278. Please contact your web hosting service provider for assistance. or similar.

@cyberduck
Copy link
Collaborator Author

cyberduck commented Dec 5, 2018

@dkocher commented

As a workaround use

ssh-keygen -m PEM -t rsa

@cyberduck
Copy link
Collaborator Author

cyberduck commented Dec 5, 2018

@dkocher commented

@cyberduck
Copy link
Collaborator Author

cyberduck commented Dec 5, 2018

@dkocher commented

ssh-keygen(1): write OpenSSH format private keys by default instead of using OpenSSL's PEM format. The OpenSSH format, supported in OpenSSH releases since 2014 and described in the PROTOCOL.key file in the source distribution, offers substantially better protection against offline password guessing and supports key comments in private keys. If necessary, it is possible to write old PEM-style keys by adding "-m PEM" to ssh-keygen's arguments when generating or updating a key.

@cyberduck
Copy link
Collaborator Author

cyberduck commented Jan 17, 2019

@ylangisc commented

In 717f745.

@cyberduck
Copy link
Collaborator Author

cyberduck commented Jan 20, 2019

@dkocher commented

Milestone renamed

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed high priority sftp SFTP Protocol Implementation
Projects
None yet
Development

No branches or pull requests

1 participant