@ -4,7 +4,12 @@
**Pre-requisite**
**Pre-requisite**
1. ssh client (built-in on Windows 10. Preinstall with Git installation). For windows 7 alternative, try Putty
1. ssh client (built-in on Windows 10. Preinstall with Git installation). For windows 7 alternative, try [Putty ](https://www.putty.org/ )
```shell
# use windows package manager
$ winget install PuTTY.PuTTY
```
2. [git ](https://git-scm.com/ )
2. [git ](https://git-scm.com/ )
```shell
```shell
# use windows package manager
# use windows package manager
@ -24,9 +29,12 @@ $ winget install tailscale.tailscale
```
```
---
---
**Configuration**
**Configuration**
1. setup sshkey. Run below to generate the private / public key. [SSH key-pair ](https://www.techtarget.com/searchsecurity/tutorial/Use-ssh-keygen-to-create-SSH-key-pairs-and-more )
1. setup sshkey. Run below to generate the private / public key.
- [Tutoria ](https://git-scm.com/book/en/v2/Git-on-the-Server-Generating-Your-SSH-Public-Key )
- [Tutorial Windows 10 ](https://phoenixnap.com/kb/generate-ssh-key-windows-10 )
- [SSH key-pair ](https://www.techtarget.com/searchsecurity/tutorial/Use-ssh-keygen-to-create-SSH-key-pairs-and-more )
```shell
```shell
$ ssh-keygen
$ ssh-keygen
```
```
2. Pass the `c:\users\<username>\.ssh\id_rsa.pub` to administrator to authorise the access to server (xxx.xxx.xxx.xxx)
2. Pass the `c:\users\<username>\.ssh\id_rsa.pub` to administrator to authorise the access to server (xxx.xxx.xxx.xxx)
```shell
```shell
@ -64,7 +72,8 @@ $ ssh -L 3000:172.16.16.2:3000 -L 222:172.16.16.2:222 mitpenang@100.72.57.125
```
```
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. To clone, use `git ssh://...`
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://...`
---
---
**Git**
**Git**