A simple Secure Shell Server built with libssh.
ntzyz@ntzyz-solaris ~ % ssh localhost -p 2022
ntzyz@localhost's password:
PTY allocation request failed on channel 0
[NSH]$ 123
ECHO: 123
[NSH]$ ping
Pong!
[NSH]$ exit
exiting...
Connection to localhost closed.
libssh-dev
$ sudo apt install libssh-dev
$ make
$ ./server