ekzhang / sshx

Fast, collaborative live terminal sharing over the web

Home Page:https://sshx.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to self host the sshx server?

edizeqiri opened this issue · comments

Hi, I am currently trying to run the server locally.

What I did

docker build -t sshx .
docker run -p 8051:8051 sshx:latest

image

image

Issue is not only for WSL.
Am I missing a step?

I found it out.

if using nginx then or nginx proxy manager add this:

`
location /sshx.SshxService/Channel {
grpc_pass grpc://192.168.1.132:8051;
}

Btw @ekzhang, can I make a pull request and add the documentation for selfhosting this with docker and nginx? I think this would safe a lot headache for someone else trying to selfhost it.
`

192.168.0.0/16 is a local IP range

You're welcome to make PRs for the guide but I won't accept them unless the documentation is correct, safe, well-written, and considers all cases.

If you're not an expert on Nginx configuration and understand why grpc_pass is necessary I wouldn't recommend it.