GitLab Web all repository SSH clone URL shows wrong path.
Wrong path: ssh://git@ssh.gitlab.domain.com:443/test_group/test30-jan-2020.git
After modified With following command able to clone on terminal.
git clone git@gitlab.domain.com:test_group/test30-jan-2020.git
To correct the same Under Admin--> Settings---> couldn't find option to change it to proper clone url. Any workaround will be highly appreciated.
It should be, as documented in "Configuring the external URL for GitLab" in external_url
or your /etc/gitlab/gitlab.rb
Check first Admin Area > Settings > General > Sign-in restrictions
Or, for omnibus, in gitlab-config-template/gitlab.rb.template
.
The OP Kishore mentions in the comments:
In
/etc/gitlab.rb
file,Gitlab_rails['gitlab_shell_ssh_port'] =
was enabled.
I have disabled and restarted. It is showing correct path.
(You could see that setting used in sameersbn/docker-gitlab
issue 38 )