Home > other >  How from the network access Intranet git server?
How from the network access Intranet git server?

Time:10-02

In the network set up a git server, has been normal use for a month, clone address is git clone [email protected]: CCC. Git
Now need to also can submit the code from the network, and then made a map on the router, you can now through SSH connection to git server, SSH [email protected] - p3789, is mapped to a network outside the network port 3789 192.168.1.198 git port 22,
The problem is how to splice a url git clone code from the network?

CodePudding user response:

This I don't know specific how to operate, should build a HOSTS locally, will you want to visit the address of the DNS manually to a domain name,

CodePudding user response:

A: public mapping router port to 22
2: modify the SSH port 22
Three: git clone SSH://git @ the hostname: port/.../XXX. Git (Internet didn't try) is at the back of the IP address and port number,
Git clone [email protected]:3789/../CCC. Git

CodePudding user response:

refer to the second floor mathcoder23 response:
a: public mapping router port to 22
2: modify the SSH port 22
Three: git clone SSH://git @ the hostname: port/.../XXX. Git (Internet didn't try) is at the back of the IP address and port number,
Git clone [email protected]:3789/../CCC. Git


Tried, can not

CodePudding user response:

And the building the same problems, solve the building Lord, please?

CodePudding user response:

On a router port forwarding
  • Related