So my question is: how work an linux terminal for example ? It sends
packets to the SSH server, but which ?

Le dimanche 06 décembre 2009 à 22:16 +0100, Peter Stuge a écrit :
> Samuel ROZE wrote:
> > how I can send something which will be considered like a "Ctrl + C"
> > command from a linux shell to my channel ?
> 
> It's not reliable to do those kind of tricks. To some degree you will
> have to get involved in the messy business of terminal emulation in
> your software. Just don't do it.
> 
> Instead, write software for the server side which uses system APIs to
> do the process control you want. You are very limited via SSH. You
> are not limited at all in C on the server.
> 
> If you are lucky, you can make a fragile system work via SSH, but
> probably it will never work quite as you want. Save your time and try
> to find a more reliable solution from the start.
> 
> 
> //Peter
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel


_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to