rundeck-plugins / ansible-plugin

Ansible Integration for Rundeck
MIT License
331 stars 100 forks source link

Need help: Adapt "Secure Remote Authentication" from Jsch #249

Open linuxmail opened 5 years ago

linuxmail commented 5 years ago

Hi,

I asked on of our developer to to help me, to get SSH working with a passphrase, with a local-ssh agent, because Ansible uses the system SSH. Because of the passphrase, it is not possibile to submit the key just with a few lines somewhere in the code , because if we use the "Secure Remote Authentication", it is hidden from the outside of the JAVA bubble.

We need a "wrapper", to get the secret and feed the ssh-add command. The Jsch has some lines, to access the "secret". The question is now: how to adapt the code for the Ansible plugin ...

If we can get some hints, how to implement it in the correct way, it would be awesome :-)

linuxmail commented 5 years ago

hi,

my boss asked me: if we can sponsor this feature request and pay for it. It seems, it would be easier than give this problem to our non JAVA developer :-)

cu denny