You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use git clone git@... I am always asked for the password of git@
➜ git clone git@<domain>:<user>/<user>s_repo.git
Cloning into '<user>s_repo'...
git@<domain>'s password:
To reproduce
Install gogs via docker, create non-admin user, add ssh key, create repo, try cloning repo using ssh
Expected behavior
Being asked for my pin of my key and cloning the repo
Additional context
I installed gogs via docker-compose aka portainer stack. I modified the app.ini a little but all in all my setup is pretty basic. I can't really find any documentaion that seems to apply to what I am looking for, but I have checked.
I figured out that the problem is that the containers port 22 is not available on the host.
So I created a port mapping that mapps port 2222 on the host to port 22 on the container. But since I expose this service to the internet, I don't really like to expose ports. Is there a more sleak way of doing this?
Gogs version
0.14.0+dev
Git version
Operating system
debian 12 with docker
Database
postgres:latest
Describe the bug
When trying to use git clone git@... I am always asked for the password of git@
To reproduce
Install gogs via docker, create non-admin user, add ssh key, create repo, try cloning repo using ssh
Expected behavior
Being asked for my pin of my key and cloning the repo
Additional context
I installed gogs via docker-compose aka portainer stack. I modified the app.ini a little but all in all my setup is pretty basic. I can't really find any documentaion that seems to apply to what I am looking for, but I have checked.
I use nginx-proxy-manager.
Here is my app.ini:
Here is my docker-compose.yml:
Code of Conduct
The text was updated successfully, but these errors were encountered: