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
-
... ... @@ -1,10 +1,12 @@ 1 - **Contents:** 1 + **Table of Contents:** 2 2 3 3 {{toc/}} 4 4 5 5 6 + 6 6 = **1. Use Remote.it service** = 7 7 9 + 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:** ... ... @@ -17,6 +17,7 @@ 17 17 18 18 = **2. RSSH Introduction** = 19 19 22 + 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 22 22 (% style="color:red" %)**Important Notice:** ... ... @@ -35,10 +35,14 @@ 35 35 * MS14 series if installed with the same firmware. 36 36 37 37 41 + 42 + 38 38 == **2.1 For Firmware Version lower than lgw~-~-build-v5.4.1616478814-20210323-1355** == 39 39 45 + 40 40 === **2.1.1 End User Guide to use SSH access** === 41 41 48 + 42 42 Go to this the Reverse SSH page as below: 43 43 44 44 [[image:image-20220527102348-1.png]] ... ... @@ -50,11 +50,11 @@ 50 50 51 51 Connection OK. 52 52 53 -* (% style="color:#4f81bd" %)**Login ID**(%%): Input (% style="color:#4f81bd" %)**sshuser** 54 -* (% style="color:#4f81bd" %)**Host Address**(%%): Input** (% style="color:#4f81bd" %)support.dragino.com(%%)** 55 -* (% style="color:#4f81bd" %)**Host Port**(%%): Please email to support @ dragino.com to get a valid host port. 60 +* (% style="color:#4f81bd" %)**Login ID**(%%): Input (% style="color:#4f81bd" %)**sshuser** 61 +* (% style="color:#4f81bd" %)**Host Address**(%%): Input** (% style="color:#4f81bd" %)support.dragino.com(%%)** 62 +* (% style="color:#4f81bd" %)**Host Port**(%%): Please email to support @ dragino.com to get a valid host port. 56 56 * (% style="color:#4f81bd" %)**Connect at Startupt**(%%): Choose to enable connect once device is powered. 57 -* (% style="color:#4f81bd" %)**Network Keys:**(%%)Click the Generate keys to generate the keys and download / mail it to Dragino support so Dragino can prepare the remote access to 64 +* (% style="color:#4f81bd" %)**Network Keys: **(%%)Click the Generate keys to generate the keys and download / mail it to Dragino support so Dragino can prepare the remote access to 58 58 59 59 ((( 60 60 After doing above, please download and mail the public keys to Dragino support and wait for our mail for the valid host port. Input the valid host port got from our support and click connect so we can remote access to your gateway. ... ... @@ -115,7 +115,7 @@ 115 115 116 116 ==== **2.2.1.1 Install the SSH service for server** ==== 117 117 118 -===== **2.2.1.1.1 Step 1:Download the SSH service code** ===== 125 +===== **2.2.1.1.1 Step 1 : Download the SSH service code** ===== 119 119 120 120 1).git clone [[https:~~/~~/github.com/dragino/rssh-server.git>>url:https://github.com/dragino/rssh-server.git]] rssh-server 121 121 ... ... @@ -184,7 +184,7 @@ 184 184 ))) 185 185 186 186 187 -===== **2.2.1.1.2 Step 2 :Install and run the RSS service** ===== 194 +===== **2.2.1.1.2 Step 2 : Install and run the RSS service** ===== 188 188 189 189 1): intall database for /var/rsshdb.sqlite3 and Server development port for 3721(The default is 3721) 190 190 ... ... @@ -216,7 +216,7 @@ 216 216 ))) 217 217 218 218 219 -===== **2.2.1.1.3 Step 3 :Create a minimal SSH user (reverse SSH proxy for the gateway)** ===== 226 +===== **2.2.1.1.3 Step 3 : Create a minimal SSH user (reverse SSH proxy for the gateway)** ===== 220 220 221 221 **1): (% style="color:#4f81bd" %)sudo useradd XXXXX(%%)** (custom user name) 222 222 ... ... @@ -235,9 +235,9 @@ 235 235 236 236 === **2.2.2 How does user get the gateway to connect to a user's private server** === 237 237 238 -===== **2.2.2.1 Step1: Come bace the gateway web UI for get the gateway Public key** ===== 245 +===== **2.2.2.1 Step 1 : Come bace the gateway web UI for get the gateway Public key** ===== 239 239 240 -1) in the system ~-~-> (% style="color:#4f81bd" %)**Remote Mgmt /span>**247 +1) in the system ~-~-> (% style="color:#4f81bd" %)**Remote Mgmt** 241 241 242 242 [[image:image-20220527110531-7.png]] 243 243 ... ... @@ -244,7 +244,7 @@ 244 244 Remote Mgmt 245 245 246 246 247 -===== **2.2.2.2 Step2: Authorization server** ===== 254 +===== **2.2.2.2 Step 2 : Authorization server** ===== 248 248 249 249 copy the Gateway Publickey into user's private server "/home/XXXXX/.ssh/authorized_keys" file. 250 250 ... ... @@ -253,7 +253,7 @@ 253 253 Publickey 254 254 255 255 256 -===== **2.2.2.3 Step3: connecte private server** ===== 263 +===== **2.2.2.3 Step 3 : connecte private server** ===== 257 257 258 258 in the gateway web UI 259 259 ... ... @@ -272,7 +272,7 @@ 272 272 ))) 273 273 274 274 275 -===== **2.2.2.4 Step 4 :Cheak is fine** ===== 282 +===== **2.2.2.4 Step 4 : Cheak is fine** ===== 276 276 277 277 Rssh Host connection Ok 278 278 ... ... @@ -288,7 +288,7 @@ 288 288 Check the gateway 289 289 290 290 291 -===== **2.2.2.5 Step5:Create an authorization key file** ===== 298 +===== **2.2.2.5 Step 5 : Create an authorization key file** ===== 292 292 293 293 1):sudo mkdir /home/xxxxx/.ssh; sudo touch /home/xxxxx/.ssh/authorizedkey 294 294 ... ... @@ -302,7 +302,7 @@ 302 302 303 303 === **2.2.3 How to Ser up a Reverse SSH access** === 304 304 305 -==== **2.2.3.1 Step1: Log into the server system** ==== 312 +==== **2.2.3.1 Step 1 : Log into the server system** ==== 306 306 307 307 [[image:image-20220527111145-12.png]] 308 308 ... ... @@ -309,7 +309,7 @@ 309 309 Loging server 310 310 311 311 312 -==== **2.2.3.2 Step2:access the gateway** ==== 319 +==== **2.2.3.2 Step 2 : access the gateway** ==== 313 313 314 314 (% class="box" %) 315 315 (((