A remote shell program in C. For an academic project. If you need a remote shell, please use ssh.
To Run:
- download/fork repo
- go into repo
cd client-server
- Run the Makefile
make
if Makefile fails run:
gcc -o client client.c
gcc -o server server.c
- Find location of bash
which bash
- start the server
./server <filepath to bash>
- open another terminal and run client
./client
- You can run any bash commands like ls, cat, and grep in the client and the server will return the result of the command