antoniomika / sish

HTTP(S)/WS(S)/TCP Tunnels to localhost using only SSH.
https://ssi.sh
MIT License
3.98k stars 303 forks source link

Is it possible to run it in debain or openwrt running in Rasberry Pi #305

Closed Eldho1416 closed 4 months ago

Eldho1416 commented 4 months ago

Hi,

I have no much idea about ssh tunneling, I tried running in debian as instructed and i'm getting this error

# runtime/cgo
gcc: error: unrecognized command-line option '-marm'
antoniomika commented 4 months ago

Hey @Eldho1416

Yep, any golang supported OS/architecture should be supported. Are you attempting to build binaries yourself? If so, make sure to disable CGO using CGO_ENABLED=0.

Eldho1416 commented 4 months ago

Help me understand this, i need to build binaries in the sever or client?

Is it possible to run this my own server?

I feel so dumb please me with a guide if any 😅

antoniomika commented 4 months ago

Yep, you can run this on your own server.

You only need to build binaries for your server, the client is just ssh. There's no guide other than installing Go locally and using go build cmd/sish.go and executing the resultant program.

Eldho1416 commented 4 months ago

I'm sorry to ask this. I have raspberry (A) and i have a aws server (B) and i have My laptop (C)

I want to access A using C via B is this possible? And i need to build binaries in B?

antoniomika commented 4 months ago

This is possible and no you don't need to build any binaries. You can follow the install guide here. You can also download a binary from the GitHub Releases and install it yourself.

Eldho1416 commented 4 months ago

Okay i will try it out thank you for the help

antoniomika commented 4 months ago

Yep, no problem! I'll close this, but feel free to message here or IRC if you need more help!