I'm working on simple server application for learning purpuses and I've been trying to implement something to be able to control it remotely..

I've been thinking about telnet control which would be very simple but I dont want to go for it because its unsecure.

The next option was SSH (OpenSSH) which seems like a good way to do it except I'm unsure how to make it work with my application (I use boost asio framework). I would like to keep my application normally compileable on most of platforms (dependless on pre-compiled libraries for individual platform)..

Is there any good alternative? Or is it possible to make it work as I imagine with OpenSSH?

Many thanks in advance