launch ssh-add with a passphrase as parameter

Patrice.Gonthier at alcatel.fr Patrice.Gonthier at alcatel.fr
Tue Oct 19 22:22:30 EST 2004


Hello,

I have the following problem.
I have an application which is running and which has already request a
passphrase to the user.

This application needs to launch ssh agent and ssh add, but I do not want
to be prompt again for the passphrase.
My private key is of course encrypted with the passphrase.

How can I do ?

My only idea for the moment is to change the variable value of
ask_passphrase and to redirect it to a program that I will write.
This program will request to my running application the passphrase.

Does anybody see a more simple way ?

Thank you by advance

Patrice





More information about the openssh-unix-dev mailing list