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

Handling encrypted SSH keys #3

Open
amlwwalker opened this issue Feb 16, 2015 · 3 comments
Open

Handling encrypted SSH keys #3

amlwwalker opened this issue Feb 16, 2015 · 3 comments

Comments

@amlwwalker
Copy link
Contributor

Hi
If an SSH key is encrypted, you get a nasty error message:

panic: Can't run remote command: asn1: structure error: tags don't match (16 vs {class:3 tag:14 length:112 isCompound:false}) {optional:false explicit:false application:false defaultValue:<nil> tag:<nil> stringType:0 set:false omitEmpty:false} pkcs1PrivateKey @2

Have you ever got around this problem?
Thanks
Alex

@hypersleep
Copy link
Owner

Hi Alex! I have not tried to connect remote machine with encrypted SSH key. I'll try to investigate this bug.

@amlwwalker
Copy link
Contributor Author

I had a look, didnt seem too straight forward at first glance, but will keep researching myself too. I think it will need to know the SSH key password

@n3r0-ch
Copy link

n3r0-ch commented May 18, 2015

Same problem. Need a solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants