[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem in ssh_connect()


On Monday 28 February 2011 16:25:59 you wrote:
> Hello,

Hi,
 
> I have a problem when I try to connect to a server with ssh_connect()
> 
> I use libSSH 0.4.7-1 on Windows XP, with Visual C++ 6.0 (binaries from
> http://winkde.org/pub/kde/ports/win32/releases/stable/latest/)
> 
> The program tries to connect successively to different servers.
> 
> On the most servers, the connection and all the tasks using libSSH work
> well
> 
> But with some servers, the function ssh_connect() blocks indefinitely the
> program, even if I set the option SSH_OPTIONS_TIMEOUT to 5 seconds.

especially on Windows I suggest that you try libssh 0.5rc0. However, could you 
provide a strace if there is somethig like that on Windows?


Cheers,

	-- andreas

-- 
Andreas Schneider                   GPG-ID: F33E3FC6
www.cryptomilk.org                asn@xxxxxxxxxxxxxx


Archive administrator: postmaster@lists.cynapses.org