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,7 +3,6 @@ 3 3 {{toc/}} 4 4 5 5 6 - 7 7 = **1. Use Remote.it service** = 8 8 9 9 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. ... ... @@ -36,7 +36,6 @@ 36 36 * MS14 series if installed with the same firmware. 37 37 38 38 39 - 40 40 == **2.1 For Firmware Version lower than lgw~-~-build-v5.4.1616478814-20210323-1355** == 41 41 42 42 === **2.1.1 End User Guide to use SSH access** === ... ... @@ -63,7 +63,7 @@ 63 63 ))) 64 64 65 65 66 -=== **2.1.2 How to Ser up a Reverse SSH access**===64 +=== 2.1.2 How to Ser up a Reverse SSH access === 67 67 68 68 Advance administrator can config a SSH server to provide support their end user themselves. Instruction is as below: 69 69 ... ... @@ -83,7 +83,7 @@ 83 83 ))) 84 84 85 85 86 -==== **2.1.2.1 Note for set up RSSH server**====84 +==== 2.1.2.1 Note for set up RSSH server ==== 87 87 88 88 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. 89 89 ... ... @@ -98,7 +98,7 @@ 98 98 ))) 99 99 100 100 101 -== **2.2 For Firmware Version higher than lgw~-~-build-v5.4.1618196981-20210412-1111**==99 +== 2.2 For Firmware Version higher than lgw~-~-build-v5.4.1618196981-20210412-1111 == 102 102 103 103 Below gateway support reverse SSH access: 104 104 ... ... @@ -113,11 +113,11 @@ 113 113 ))) 114 114 115 115 116 -=== **2.2.1 End User Guide to use SSH access**===114 +=== 2.2.1 End User Guide to use SSH access === 117 117 118 -==== **2.2.1.1 Install the SSH service for server**====116 +==== 2.2.1.1 Install the SSH service for server ==== 119 119 120 -===== **2.2.1.1.1 Step 1**=====118 +===== 2.2.1.1.1 Step 1:Download the SSH service code ===== 121 121 122 122 1).git clone [[https:~~/~~/github.com/dragino/rssh-server.git>>url:https://github.com/dragino/rssh-server.git]] rssh-server 123 123 ... ... @@ -186,7 +186,7 @@ 186 186 ))) 187 187 188 188 189 -===== **2.2.1.1.2 Step 2 :**=====187 +===== 2.2.1.1.2 Step 2 :Install and run the RSS service ===== 190 190 191 191 1): intall database for /var/rsshdb.sqlite3 and Server development port for 3721(The default is 3721) 192 192 ... ... @@ -218,7 +218,7 @@ 218 218 ))) 219 219 220 220 221 -===== **2.2.1.1.3 Step 3 :**=====219 +===== 2.2.1.1.3 Step 3 :Create a minimal SSH user (reverse SSH proxy for the gateway) ===== 222 222 223 223 **1): (% style="color:#4f81bd" %)sudo useradd XXXXX(%%)** (custom user name) 224 224 ... ... @@ -235,11 +235,11 @@ 235 235 **Now user "XXXXX" is the user with limited permissions of the current system** 236 236 237 237 238 -=== **2.2.2 How does user get the gateway to connect to a user's private server**===236 +=== 2.2.2 How does user get the gateway to connect to a user's private server === 239 239 240 -===== **2.2.2.1 Step**=====238 +===== 2.2.2.1 Step1: Come bace the gateway web UI for get the gateway Public key ===== 241 241 242 -1) in the system ~-~-> (% style="color:#4f81bd" %)**Remote Mgmt** 240 +1) in the system ~-~-> (% style="color:#4f81bd" %)**Remote Mgmt/span>** 243 243 244 244 [[image:image-20220527110531-7.png]] 245 245 ... ... @@ -246,7 +246,7 @@ 246 246 Remote Mgmt 247 247 248 248 249 -===== **2.2.2.2 Step 247 +===== **2.2.2.2 Step2: Authorization server** ===== 250 250 251 251 copy the Gateway Publickey into user's private server "/home/XXXXX/.ssh/authorized_keys" file. 252 252 ... ... @@ -255,7 +255,7 @@ 255 255 Publickey 256 256 257 257 258 -===== **2.2.2.3 Step 256 +===== **2.2.2.3 Step3: connecte private server** ===== 259 259 260 260 in the gateway web UI 261 261 ... ... @@ -274,7 +274,7 @@ 274 274 ))) 275 275 276 276 277 -===== **2.2.2.4 Step 4 : 275 +===== **2.2.2.4 Step 4 :Cheak is fine** ===== 278 278 279 279 Rssh Host connection Ok 280 280 ... ... @@ -290,7 +290,7 @@ 290 290 Check the gateway 291 291 292 292 293 -===== **2.2.2.5 Step 291 +===== **2.2.2.5 Step5:Create an authorization key file** ===== 294 294 295 295 1):sudo mkdir /home/xxxxx/.ssh; sudo touch /home/xxxxx/.ssh/authorizedkey 296 296 ... ... @@ -304,7 +304,7 @@ 304 304 305 305 === **2.2.3 How to Ser up a Reverse SSH access** === 306 306 307 -==== **2.2.3.1 Step 305 +==== **2.2.3.1 Step1: Log into the server system** ==== 308 308 309 309 [[image:image-20220527111145-12.png]] 310 310 ... ... @@ -311,7 +311,7 @@ 311 311 Loging server 312 312 313 313 314 -==== **2.2.3.2 Step 312 +==== **2.2.3.2 Step2:access the gateway** ==== 315 315 316 316 (% class="box" %) 317 317 (((