www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples

Archive Index This month's Index

Subject: Re: Cannot set up sftp connection?

Re: Cannot set up sftp connection?

From: Steven Van Ingelgem <steven_at_vaningelgem.be>
Date: Thu, 2 Jul 2009 10:45:07 +0200

2009/7/2 Daniel Stenberg <daniel_at_haxx.se>

> On Wed, 1 Jul 2009, Steven Van Ingelgem wrote:
>
> I am trying to set up an sftp connection, but it seems that I cannot
>> enumerate files in a directory.
>>
>
> First, I assume you use 1.1 or the git version? On what OS? Does the
> 'sftpdir' example show the same sympthom on this server? What server/version
> is it?
>

I am using latest git version on Mac OS X 10.5.7

Modifying the sftpdir example to have my username and keys, I get this:
Fingerprint: CC D4 A7 C3 F8 34 FF 04 66 BD 44 94 5B 23 B6 4A
libssh2_sftp_init()!
libssh2_sftp_opendir()!
libssh2_sftp_opendir() is done, now receive listing!
** HANGS **

Grtz,
Steven

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-07-02

the libssh2 team