On Monday 07 of December 2009 18:41:36 Samuel ROZE wrote:
> If I send to my ssh2 channel an "sleep 1000;" command for instance, how
> I can send the ^C command ?

http://www.openbsd.org/cgi-bin/man.cgi?query=ssh#ESCAPE+CHARACTERS

I also suggest to read the important note above:

   "If no pseudo-tty has been allocated, the session is transparent and can
    be used to reliably transfer binary data."

> > $ echo $SSH_TTY
>
> /dev/pts/0

Yep, that's the pseudo-tty. Be sure you have one while playing with the
escape characters.

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

Reply via email to