Bob Alexander wrote:
> Not sure I want to get into setting up a subsystem on the server,
With OpenSSH that is a matter of adding a line like this to sshd_config:
Subsystem c...@stuge.se /bin/cat
(Please do include @your.domain.name because names without @ are
reserved for future standardized sub
On Mon, 23 Mar 2009, Bob Alexander wrote:
> The app on the server dribbles out information on stderr over a period of 45
> seconds, then exits. But my calls to libssh2_channel_read_stderr return
> nothing until the server app exits - and then I quickly get all the data
> that had been sent.
>
>
The server app calls setvbuf(stderr, NULL, _IONBF, 0) and does an
fflush after every write.
Not sure I want to get into setting up a subsystem on the server, but
I'll try putting running the app from an exec channel...
- Bob
Bob Alexander wrote:
It is. I know because (aside fro
Bob Alexander wrote:
> It is. I know because (aside from looking at the code for the server
> app) if I log in to the server with an ssh GUI and run the app, I
> see the output as the program generates it.
That's not very reliable, because there are a few other programs
involved when running the a
It is. I know because (aside from looking at the code for the server
app) if I log in to the server with an ssh GUI and run the app, I see
the output as the program generates it.
- Bob
Bob Alexander wrote:
Is there something I'm missing?
Check that the server side app
Bob Alexander wrote:
> Is there something I'm missing?
Check that the server side app is using unbuffered fds, or calling
fflush() as neccessary.
//Peter
--
Apps built with the Adobe(R) Flex(R) framework and Flex Builde
Hi,
I've started using libssh2, but I'm having a problem with receiving
intermediate results from an application. I use libssh2 on a Windows
client, connect to a Linux or AIX server (the problem occurs on either),
run an application on the server by sending a command