Changes for page Remote Access Gateway
Last modified by Kilight Cao on 2022/07/25 10:47
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -3,8 +3,9 @@ 3 3 {{toc/}} 4 4 5 5 6 -= 1. Use Remote.it service = 7 7 7 += **1. Use Remote.it service** = 8 + 8 8 Remote.it for remote access is available in the latest Dragino firmware for gateway. For security concern, the remote.it only available base on end user demand. 9 9 10 10 (% style="color:red" %)**Important Notice:** ... ... @@ -15,7 +15,7 @@ 15 15 For how to use remoteit, please see : [[Remoteit user instruction for Dragino Gateway>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/&file=Dragino-Remoteit_User_Manual.pdf]]. 16 16 17 17 18 -= 2. RSSH Introduction = 19 += **2. RSSH Introduction** = 19 19 20 20 Reverse SSH for remote access is available in the latest Dragino firmware for gateway. For security concern, the RSSH only available base on end user demand. 21 21 ... ... @@ -34,10 +34,11 @@ 34 34 * LIG16 35 35 * MS14 series if installed with the same firmware. 36 36 37 -== 2.1 For Firmware Version lower than lgw~-~-build-v5.4.1616478814-20210323-1355 == 38 38 39 -== =2.1.1End UserGuidetouseSSHaccess===39 +== **2.1 For Firmware Version lower than lgw~-~-build-v5.4.1616478814-20210323-1355** == 40 40 41 +=== **2.1.1 End User Guide to use SSH access** === 42 + 41 41 Go to this the Reverse SSH page as below: 42 42 43 43 [[image:image-20220527102348-1.png]] ... ... @@ -60,7 +60,7 @@ 60 60 ))) 61 61 62 62 63 -=== 2.1.2 How to Ser up a Reverse SSH access === 65 +=== **2.1.2 How to Ser up a Reverse SSH access** === 64 64 65 65 Advance administrator can config a SSH server to provide support their end user themselves. Instruction is as below: 66 66 ... ... @@ -80,7 +80,7 @@ 80 80 ))) 81 81 82 82 83 -==== 2.1.2.1 Note for set up RSSH server ==== 85 +==== **2.1.2.1 Note for set up RSSH server** ==== 84 84 85 85 If gateway reboot or the connection is incidentely close by end node. The port in SSH server will still be occupy for a long time. Administrator can use below commands to release the port. 86 86 ... ... @@ -95,7 +95,7 @@ 95 95 ))) 96 96 97 97 98 -== 2.2 For Firmware Version higher than lgw~-~-build-v5.4.1618196981-20210412-1111 == 100 +== **2.2 For Firmware Version higher than lgw~-~-build-v5.4.1618196981-20210412-1111** == 99 99 100 100 Below gateway support reverse SSH access: 101 101 ... ... @@ -110,11 +110,11 @@ 110 110 ))) 111 111 112 112 113 -=== 2.2.1 End User Guide to use SSH access === 115 +=== **2.2.1 End User Guide to use SSH access** === 114 114 115 -==== 2.2.1.1 Install the SSH service for server ==== 117 +==== **2.2.1.1 Install the SSH service for server** ==== 116 116 117 -===== 2.2.1.1.1 Step 1:Download the SSH service code ===== 119 +===== **2.2.1.1.1 Step 1 : Download the SSH service code** ===== 118 118 119 119 1).git clone [[https:~~/~~/github.com/dragino/rssh-server.git>>url:https://github.com/dragino/rssh-server.git]] rssh-server 120 120 ... ... @@ -183,7 +183,7 @@ 183 183 ))) 184 184 185 185 186 -===== 2.2.1.1.2 Step 2 :Install and run the RSS service ===== 188 +===== **2.2.1.1.2 Step 2 : Install and run the RSS service** ===== 187 187 188 188 1): intall database for /var/rsshdb.sqlite3 and Server development port for 3721(The default is 3721) 189 189 ... ... @@ -215,7 +215,7 @@ 215 215 ))) 216 216 217 217 218 -===== 2.2.1.1.3 Step 3 :Create a minimal SSH user (reverse SSH proxy for the gateway) ===== 220 +===== **2.2.1.1.3 Step 3 : Create a minimal SSH user (reverse SSH proxy for the gateway)** ===== 219 219 220 220 **1): (% style="color:#4f81bd" %)sudo useradd XXXXX(%%)** (custom user name) 221 221 ... ... @@ -232,9 +232,9 @@ 232 232 **Now user "XXXXX" is the user with limited permissions of the current system** 233 233 234 234 235 -=== 2.2.2 How does user get the gateway to connect to a user's private server === 237 +=== **2.2.2 How does user get the gateway to connect to a user's private server** === 236 236 237 -===== 2.2.2.1 Step1: Come bace the gateway web UI for get the gateway Public key ===== 239 +===== **2.2.2.1 Step 1 : Come bace the gateway web UI for get the gateway Public key** ===== 238 238 239 239 1) in the system ~-~-> (% style="color:#4f81bd" %)**Remote Mgmt/span>** 240 240 ... ... @@ -243,7 +243,7 @@ 243 243 Remote Mgmt 244 244 245 245 246 -===== **2.2.2.2 Step2: Authorization server** ===== 248 +===== **2.2.2.2 Step 2 : Authorization server** ===== 247 247 248 248 copy the Gateway Publickey into user's private server "/home/XXXXX/.ssh/authorized_keys" file. 249 249