Displaying 2 results from an estimated 2 matches for "ask_passphrase".
2004 Oct 19
2
launch ssh-add with a passphrase as parameter
...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
2004 Oct 21
0
On Windows, launch ssh-add with a passphrase as parameter
...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.
Our idea
My only idea is to force, by a re-direction the passphrase as input of
ask_passphrase.
The tests done:
We have made some test on windows.
It seems the askpass program is only executed when the ssh has no terminal.
But, on windows, it seems that ssh is always started in a console
window and ssh-add not calls askpass program always.
Conclusion
Can somebody help us ?
Thank you by ad...