Installation
Prepare a Linux environment and build the server, client, and user-management utility.
Platform support
Easy RSH relies on POSIX APIs including fork, execvp, pipe, chdir, waitpid, signals, and BSD sockets. Linux is the primary supported environment. On Windows, use WSL or a Linux virtual machine rather than compiling the project as a native Win32 application.
Install dependencies
Ubuntu and Debian
sudo apt update
sudo apt install build-essential libssl-dev makeFedora
sudo dnf install gcc-c++ make openssl-develArch Linux
sudo pacman -S base-devel opensslBuild targets
The root Makefile compiles with C++17 and links against pthread, SSL, and crypto.
| Command | Result |
|---|---|
make | Builds server, client, and adduser |
make server | Builds only the server |
make client | Builds only the client |
make adduser | Builds only the user utility |
make DEBUG=0 | Enables optimized release flags |
make clean | Removes compiled objects and primary binaries |
The default development build uses -g -O0 -DDEBUG. Release builds use -O3 -DNDEBUG.
Verify the output
After a successful build, the repository root contains:
./server
./client
./adduserDisplay the server's options before configuring a live instance:
./server --helpRebuild after changes
For a clean development rebuild:
make clean allObject files are placed under build/. The source tree remains split into src/server, src/client, and src/socket with public interfaces under include/.