Skip to content
Permalink
master
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
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
```shell
cd client-server
```
3. Run the Makefile
```shell
make
```
if Makefile fails run:
```shell
gcc -o client client.c
gcc -o server server.c
```
4. Find location of bash
```shell
which bash
```
6. start the server
```shell
./server <filepath to bash>
```
7. open another terminal and run client
```shell
./client
```
8. You can run any bash commands like ls, cat, and grep in the client and the server will return the result of the command