-
Notifications
You must be signed in to change notification settings - Fork 25
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
New header for id_rsa on macOs #263
Comments
I tried it also with the is this repository maintained? |
I have implemented support for openssh private key format in https://github.com/mwiede/jsch |
@mwiede nice to hear. Thank you for the contribution but we moved from groovy-ssh to https://mina.apache.org/sshd-project/ groovy-ssh lib has more convenient api than sshd but looks abandoned. May be we will make something like groovy-ssh on top of apache mina sshd. Currently ssh covers all our cases and even more |
Environment info
groovy-ssh 2.10.1
openjdk version "11.0.3" 2019-04-16 LTS
groovy 2.5.7
jsch 0.1.55
Steps to reproduce
ssh-keygen -t rsa -N '' -C '' -f id_rsa
)According to this issue appears after ssh-keygen update because the header of the file was changed from
-----BEGIN RSA PRIVATE KEY-----
to-----BEGIN OPENSSH PRIVATE KEY-----
Workaround
with additional flag
-m PEM
key will be generated with old header.Most of the people generate key using github guide or something like that and it leads to issues with groovy-ssh lib. So support of this ssh-keygen update is highly desirable.
I've generated keys from mac os with new version of ssh-keygen (
ssh-keygen -t rsa -N '' -C '' -f id_rsa
) keys.zip . You can use it to debugThank you!
p.s.
Is it possible to combine ssh related repos in one or make one multirepo with git-submodules? It's quite difficult to setup the whole env from scratch to debug the problem or run tests. And having all ssh-related issues in one repo also can be a bit convenient
The text was updated successfully, but these errors were encountered: