The pub key is required for handling passphrase-protected ssh priv keys. Right now, the pub key is extracted from this error, but for some key types (didn't work for an rsa key, for example) don't support that. The workaround of creating an unprotected version of the private key is not a good solution.