|
|
|
@ -74,6 +74,12 @@ $ ssh -L 3000:172.16.16.2:3000 -L 29419:172.16.16.2:29419 mitpenang@100.72.57.12
|
|
|
|
2. Open Chrome. Browse to Source Control Server [Mitech : Gitea](http://dev.mitech.com.sg:3000)
|
|
|
|
2. Open Chrome. Browse to Source Control Server [Mitech : Gitea](http://dev.mitech.com.sg:3000)
|
|
|
|
3. Setup Gitea repo SSH access. [Reference from Github]](https://jdblischak.github.io/2014-09-18-chicago/novice/git/05-sshkeys.html)
|
|
|
|
3. Setup Gitea repo SSH access. [Reference from Github]](https://jdblischak.github.io/2014-09-18-chicago/novice/git/05-sshkeys.html)
|
|
|
|
4. To clone, use `git ssh://...`
|
|
|
|
4. To clone, use `git ssh://...`
|
|
|
|
|
|
|
|
5. Alternatively, use below command to keep the ssh port forwarding active in background
|
|
|
|
|
|
|
|
```shell
|
|
|
|
|
|
|
|
# -N : not to execute remote command
|
|
|
|
|
|
|
|
# -f : run in the background
|
|
|
|
|
|
|
|
$ ssh -N -f -L 3000:172.16.16.2:3000 -L 29419:172.16.16.2:29419 mitpenang@100.72.57.125
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
---
|
|
|
|
**Git**
|
|
|
|
**Git**
|
|
|
|
|