[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libssh for Windows questions
[Thread Prev] | [Thread Next]
- Subject: Re: libssh for Windows questions
- From: Aris Adamantiadis <aris@xxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Mon, 09 Jun 2014 23:29:09 +0200
- To: libssh@xxxxxxxxxx
Hi Lance, Unfortunately Andreas who's maintaining the Windows port is away and cannot reply your question. I never heard any problems to scp transfers like the one you mention, it would be good to track it more deeply. Can you reproduce it on Linux? If so we could start tracking it. If you want to build it yourself, all versions of libssh build on windows. I suggest you pick the latest one. You will need cmake, zlib and openssl. Some hints here: http://www.libssh.org/archive/libssh/2012-08/0000032.html Yes, it is possible to set up timeouts. http://api.libssh.org/master/group__libssh__session.html#ga7a801b85800baa3f4e16f5b47db0a73d # SSH_OPTIONS_TIMEOUT: Set a timeout for the connection in seconds (long). # SSH_OPTIONS_TIMEOUT_USEC: Set a timeout for the connection in micro seconds (long). Kind regards, Aris Le 7/06/14 02:20, Lance Morrison a écrit : > > I ran into the debug version problem below when I tried to use libssh > for Windows that I downloaded from libssh.org. I searched around the > web and found a version somebody built that does not have the debug > problem but when I use SCP any transfer is stopping right at 5000 hex > bytes. Where can I find a version of the Windows libssh that is known > to build/work for Windows? > > The Windows libraries are built against the DEBUG version of > Microsoft’s libraries making it impossible to distribute. Will a > future version be made available that instead links to the RUNTIME > Microsoft libraries. > > A second question I have is about timeouts. In the latest Windows > version is there the ability to set a timeout so if you try to create > a session, and say the ethernet cable between your PC and test device > isn’t connected, libssh will return an error on connect. > > Thanks for any help. > Lance >
libssh for Windows questions | Lance Morrison <LMorrison@xxxxxxxxxx> |