kentonh / gPanel

A web-hosting control panel written in Go.
MIT License
80 stars 25 forks source link

Implement SSH/FTP #120

Closed george-e-shaw-iv closed 6 years ago

george-e-shaw-iv commented 6 years ago

Severity level (1-10):

10

Files/Directories Involved:

I don't know honestly

Description:

For each of the bundles SSH needs be configured and point toward the public/ folder inside of the respective bundle.

Personal Comments:

I think this will have to work similar to how pkg/router/router.go works. It will have to listen on port 22 (or any port for that matter I guess) and redirect requests depending on the host header in the request packet.

george-e-shaw-iv commented 6 years ago

I was completely wrong about everything I said in this issue. It took a second but I implemented a way to achieve this on PR #122

I will worry about FTP later on.