Reusing SSH port
doubleyou opened this issue · comments
Dmitry Demeshchuk commented
If you have sshd running on the host system (which is mostly the case), the container doesn't start.
Of course, port 22 can be forwarded to some other port number, like 9022, but in that case you'll have to use different names to SSH to that machine, either for host system SSH login or for git.
Any thoughts how to fix this?
crashsystems commented
That's a good question. I did this because I'm not aware of a way to use SSH as a git transport over a nonstandard port. So for this, I just edited the host's ssh config to run on port 23.