easyssh
easyssh copied to clipboard
Handling encrypted SSH keys
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
Hi Alex! I have not tried to connect remote machine with encrypted SSH key. I'll try to investigate this bug.
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
Same problem. Need a solution