server control (via SSH)
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
You could go ahead with the "telnet" option, or just some really basic protocol. You could then use an SSH tunnel to connect to it (and set your server to only listen for connection on the loopback). Or, just use the SSH session itself and run the client on the same machine as the server.
I do this when using VNC, for example. VNC, to my knowledge, is not "secure". I think the initial password is obsured, but I don't think (or know) if keystrokes are. Since I sometimes tell my Linux box to update from afar, and that requires my root password, and since it IS a VNC session, and I don't care to have someone looking over my shoulder, VNC goes through an SSH tunnel. (TightVNC + Putty)
You're talking for linux, right? As far as I know its possible to enable SSH on linux and open the program 'session' from it to be able to pass it commands from there, but would this solution be okay?
Originally Posted by Cactus_Hugger
What about on the windows?