Patrice.Gonthier at alcatel.fr
2004-Oct-21 07:20 UTC
On Windows, launch ssh-add with a passphrase as parameter
Hello, Our need: On windows, I have an application which is running on windows 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. 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 advance Patrice
Possibly Parallel Threads
- launch ssh-add with a passphrase as parameter
- [Bug 1871] New: ssh-askpass should be able to distinguish between a prompt for confirmation and a prompt for an actual passphrase
- ssh-askpass should be able to distinguish between a prompt for confirmation and a prompt for an actual passphrase
- [PATCH] Caching passphrase in ssh-add.
- [Bug 81] New: ssh cannot use ssh-askspass & passphrases as documented