A basic remote shell server prototype written in C++ supporting:
- TCP client/server communication
- Multi-client handling
- TLS encryption using OpenSSL
This project is intended to be compiled and run on Linux The following commands are intended for Ubuntu or any Debian-based distribution
Compile and run the Server
g++ remote_shell_server.cpp -o server
./server- Generate a self-signed certificate and key :
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout key.pem -out cert.pem- Compile the server
g++ remote_shell_server.cpp -o server -lssl -lcrypto -lpthread- run server
./servernc localhost 8080openssl s_client -connect localhost:8080