Re[2]: passing passphrase as parameter?

2017-01-27 Thread alex rosky
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

Re: passing passphrase as parameter?

2017-01-27 Thread Tilo Eckert
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