RedpointArchive / phabricator

A Docker image that runs Phabricator, an open source software engineering tool
https://hub.docker.com/r/redpointgames/phabricator/
307 stars 98 forks source link

How to forward SSH #19

Closed bweston92 closed 8 years ago

bweston92 commented 8 years ago

I can't expose port 22 (sshd conflicts) so how can I redirect a certain ssh user to the phabricator container?

hach-que commented 8 years ago

Just change your docker port mappings to map port 22 of the container onto a different host port.

On Tue., 19 Apr. 2016, 05:21 Bradley Weston, notifications@github.com wrote:

I can't expose port 22 (sshd conflicts) so how can I redirect a certain ssh user to the phabricator container?

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/hach-que-docker/phabricator/issues/19

bweston92 commented 8 years ago

The Git URI would look weird but should be ok for now.

hach-que commented 8 years ago

There's no other way to do it - forwarding SSH for one user is outside the support scope of this project. I expect that users of this Docker container are mapping the SSH port from the container to port 22 or are mapping it to another port with the awareness that the URL will have a port specification in it.