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

Re: Need help, channel_read() blocks forever before EOF


On Monday 16 May 2011 15:39:08 you wrote:
> Hi,
> 
> I wrote a program in a RHEL linux machine which tries to execute a
> powershell script remotely on a Windows 2008 server, and get the result
> back. In the Windows 2008 server, I have WinSSHD installed and running.

Hi, have you looked at the exec example in the tree?

http://git.libssh.org/projects/libssh.git/tree/examples/exec.c


Cheers,

	-- andreas

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


Follow-Ups:
Re: Need help, channel_read() blocks forever before EOFZhang Qian <zhq527725@xxxxxxxxx>
References:
Need help, channel_read() blocks forever before EOFZhang Qian <zhq527725@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org