I’m using gitea on a docker instalation, with a reverse proxy (nginx proxy manager) and self signed SSL and all is working… but only in https.
I also a stream on npm to redirect port 22 to conainer ip’s port 2221.
I started to install following the guides, but it simply does not work.
On the container side i mapped to port 2221
UID is 1000
On the host i created the user git also with uid 1000, all following the gitea guide.
When i use https all works, but if i try to git clone ssh a repo for example:
git clone git@gitea.home.server:proldan/teamcity.git
Result:
Cloning into ‘teamcity’…
git@gitea.home.server’s password:
Never accepts nothing and gives: Permission denied, please try again.
Can someone please plase give me a step by step tuturial for the best or correct way to setup ssh in my docker gitea instalation?
how do I add the ssh:// to the repo ssh link? that’s one problem
and, on my nginkx proxy manager I have gitea.home.server directed to IP:8080 of the gitea server, and that’s probably why I cant really use ssh://gitea.home.server:2221/xxxxxxxx, if I use ssh://gitea server IP:2221/xxx it works, how could I change this to work with ssh://git@gitea.home.server/xxx ?