[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Handle control characters in ssh shell server

I have implemented ssh server using libssh as a shell server. I used
ssh_channel_read() and ssh_channel_write() to handle the character between
the server and client.

I dealt with the problem about the control character from client's key such
as 'Backspace', 'Esc' and so on. It seems like nothing happens on the
client's console when using ssh_channel_write() to send that character
straightforwardly. And I found the solution from this issue:

I just wonder that do I need to handle every control character to affect as
its real action? or it has the better solution?


Re: Handle control characters in ssh shell serverAris Adamantiadis <aris@xxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org