Jared 2 years ago
parent
commit
fd461ba69b
5 changed files with 35 additions and 0 deletions
  1. 8 0
      README.md
  2. 4 0
      dev/infra.md
  3. 8 0
      dev/oauth2.md
  4. 8 0
      dev/ssh.md
  5. 7 0
      projects/hhh.md

+ 8 - 0
README.md

@@ -3,6 +3,8 @@
 
 # Knowledge Sharing
 
+* [Infrastructure](/dev/infra.md)
+
 ## Projects
 * [幸福空間](/projects/hhh.md)
 
@@ -32,3 +34,9 @@
 ## Windows Environment
 
 * winsw
+
+## Temp
+
+聯經數位密碼
+帳號:choozmo
+密碼:x7DL8n9evw75ju8C

+ 4 - 0
dev/infra.md

@@ -0,0 +1,4 @@
+## Infrastructure
+
+* FRPS 主機: 172.104.93.163:7988 (dev3) token:93234
+* 

+ 8 - 0
dev/oauth2.md

@@ -0,0 +1,8 @@
+# oauth2
+
+
+```
+client_id = "961046187649-vm1qomqbt46nadgg3osqhqhegqk521v6.apps.googleusercontent.com"
+client_secret = "Y6Pp9syHLSusAzlMHDdzn3MC"
+```
+

+ 8 - 0
dev/ssh.md

@@ -5,3 +5,11 @@ ssh -i "pem/jared_aws.pem" -L 2222:ec2-52-79-91-131.ap-northeast-2.compute.amazo
 
 ssh -L 8080:localhost:80 root@127.0.0.1
 ```
+
+## 清除連線
+
+```
+ps ax | grep sshd: |xargs kill -9
+```
+
+

+ 7 - 0
projects/hhh.md

@@ -15,6 +15,13 @@
 
 ```
  ssh -L 8888:15.164.113.3:8080 yukyo@139.162.121.30
+
+ ssh -L 8888:15.164.113.3:8080 root@139.162.121.30
+
+ ssh -L 8888:172.31.95.177:8080 yukyo@139.162.121.30
+
+ ssh -L 9999:172.31.95.177:8080 root@139.162.121.30
+
 ```
 ## 安裝流程