Well I was not thinking about writing these passwords in the program itself but
storing them somewhere on the disk, encrypted, simply as an extra protection.
I've been studying the code for hours and it looks that I have to set a
callback by using ssh_set_callbacks function, and I tried it but
Hi Alex
why don't you generate host keys without a password? If you put the
password of the keys into your code instead of entering it manually, it
is as good as having no password at all. Private SSH host keys should
never leave the machine they were generated on anyway and should only be