Skip to content
Client Server programming in C
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Makefile
README.md
client.c
server.c

README.md

A remote shell program in C. For an academic project. If you need a remote shell, please use ssh.

To Run:

  1. download/fork repo
  2. go into repo
cd client-server
  1. Run the Makefile
make

if Makefile fails run:

gcc -o client client.c
gcc -o server server.c
  1. Find location of bash
which bash
  1. start the server
./server <filepath to bash>
  1. open another terminal and run client
./client
  1. You can run any bash commands like ls, cat, and grep in the client and the server will return the result of the command
You can’t perform that action at this time.