I setup my gitlab server successful on Centos OS. Then I open port 9099 for other LAN connect but something wrong. Details as below:

In gitlab.rb

external_url = mygitlab.lan:9099

And in LAN computer - hosts file set

127.0.0.1 mygitlab.lan

Then I login to mygitlab.lan:9099 and add SSH key successful.

Then I create new project and select method is SSH and got URL as [email protected]:groupname/projectname.git

Then I clone source and got a prompt password as

$ git clone [email protected]:groupname/projectname.git
[email protected]'s password:

How can I fix it.

*** I also try https method and it's worked. Just only SSH method is fail.

Many thanks !

0 Answers