This month's Index
Subject: Re: Libssh2 channel read issue using with pty request
Re: Libssh2 channel read issue using with pty request
From: Peter Stuge <peter_at_stuge.se>
Date: Sat, 8 Aug 2015 21:07:19 +0200
Kishore Av wrote:
Then your software must also implement correct and complete terminal
> After writing the data, I used looping to read data
Terminals aren't so simple, and a pty channel will be running a shell
It is extremely fragile and error-prone to try to automate anything
> actual data size is 68kb, but it reads 10240 bytes.
Can you verify that this happens also by modifying the example/ssh2.c
> For some commands, I'm not getting any read response as i getting
When you execute "manually" the terminal emulation code path is
> Can any one suggest me the idea how i need to implement this problem.
For a reliable solution you need to have a special program (either