The problem with docker gitlab ssh

after using the gitlab created by docker gitlab and then starting gitlab, the project is always prompted to enter a password by ssh git clone. The public key has been added to the gitlab project. The startup mode of gitlab is

.
docker run -m 3000M --memory-swap=3400M --detach  --hostname gitlab.example.cn  --publish 20443:443  --publish 20080:80  --publish 20022:22  --name gitlab  --restart always --volume /srv/gitlab/config:/etc/gitlab  --volume /srv/gitlab/logs:/var/log/gitlab  --volume /srv/gitlab/data:/var/opt/gitlab  gitlab/gitlab-ce:latest

I wonder if there is a problem with ssh caused by the 20022 outside of this port? Want to know how to solve it. Thank you

Mar.04,2021

you need to modify the port configuration to 20022 in the configuration file gitlab.rb, and your pull code should use port 20022 instead of the default port 22

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b34b5a-4eb9d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b34b5a-4eb9d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?