SBaronda.com a little place I like to call home.


Docker Gitea SSH Setup

Mar. 25, 2017

Been having problems using http to push a large-ish repo. Setting up a ssh key works, but my Docker host is already running on port 22. Here is how you can specify a different port via git push

$ git remote add origin ssh://[email protected]:10022/silasb/house.git

If you have trouble don't look at the logs as they are useless, what is helpful is using the docker logs

$ docker logs -f gitea


comments powered by Disqus