SSH Runner cant use passphrase encrypted ssh keys?

We are trying to run drone with drone ssh runner. However when providing the credentials i couldnt find a way to set the passphrase for the ssh key? When trying to use ssh_key with user and password I get prompted with the error “cannot decode encrypted private keys”. Is there any way to use encrypted ssh_keys at all or do we have to open up our firewall and use the appleboy/ssh plugin?

1 Like

Hey @Rainson12 let me see how we can do this. We might need to update docs as well.

the ssh runner supports usernames and passwords, and it supports ssh keys, but it does not support ssh keys with passhprases. when generating the ssh key, you need to omit the passphrase in order to use it with the ssh runner.