Skip to content
Permalink
dccea4b510
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
30 lines (29 sloc) 590 Bytes

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