Subject: Re: Unable to connect to SFTP server using SSH-2.0-SSHD

Re: Unable to connect to SFTP server using SSH-2.0-SSHD

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 30 Sep 2010 23:40:28 +0200 (CEST)

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
Received on 2010-09-30