easyssh icon indicating copy to clipboard operation
easyssh copied to clipboard

Handling encrypted SSH keys

Open amlwwalker opened this issue 10 years ago • 3 comments

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

amlwwalker avatar Feb 16 '15 11:02 amlwwalker

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

hypersleep avatar Feb 16 '15 12:02 hypersleep

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

amlwwalker avatar Feb 21 '15 11:02 amlwwalker

Same problem. Need a solution

n3r0-ch avatar May 18 '15 19:05 n3r0-ch