Hi, You can request for a pseudo-terminal (like the regular ssh client with -t option) by calling ssh_channel_request_pty (doc: http://api.libssh.org/master/group__libssh__channel.html#ga37c1cec33fe5a2f184768aba52e3a0db )
And it is also written in the tutorial ( in part: Interactive and non-interactive sessions ) -> http://api.libssh.org/master/libssh_tutor_shell.html Br, David On Mon, Mar 21, 2016 at 6:25 PM, mac johnsto <[email protected]> wrote: > Hello everyone. Does somehow libssh support screen prompt? I connect > successfully with my ssh server and successfully use simple commands like > "ls". When I use screen it gives me an error like "must be connected to > terminal". If screen isn't supported, is there any other way to send chars > on USB through ssh? >
