On Wed, 29 Sep 2010, Sriram Swaminathan wrote:

const char *keyfile1="~/.ssh/id_rsa.pub";
const char *keyfile2="~/.ssh/id_rsa";

Can your system really convert "~/" in the file name to look relative your home directory? That's usually a feature of the shell, not the open or fopen calls...

--

 / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to