more tutorial on ssh keygen

main
yikth 3 years ago
parent 0179a50fb2
commit 6447cf726e

@ -4,7 +4,12 @@
**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/)
```shell
# use windows package manager
@ -24,7 +29,10 @@ $ winget install tailscale.tailscale
```
---
**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
$ ssh-keygen
```
@ -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)
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**

Loading…
Cancel
Save