No encryption is performed. Use at your own risk.
Imagine the situation: You are providing tech support. You want to connect to your friend, but you're not going to explain steps to setup sshd. This serverless remote shell will help you.
- install python3
- install pip
- install aiohttp
python3 -m pip install aiohttp
- clone this repo
git clone https://github.com/sudo-gera/serverless_remote_shell
- go to cloned directory:
cd serverless_remote_shell
- start http server on your computer:
python3 remote-server.py [port]
- determine how to make http requests from your friend to you
- tips:
- get your ip address from
ifconfig | grep inet | grep 192.168
- use ngrok or something similar if your friend is far from you
- get your ip address from
- run on your friend's computer:
curl -s http://[your ip]:[port] | bash
- server will print url. copy it.
- on your computer in new terminal run command:
python3 remote.py [copied url]