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,4 +1,4 @@ 1 - ** Table ofContents:**1 + **Contents:** 2 2 3 3 {{toc/}} 4 4 ... ... @@ -6,7 +6,6 @@ 6 6 7 7 = **1. Use Remote.it service** = 8 8 9 - 10 10 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. 11 11 12 12 (% style="color:red" %)**Important Notice:** ... ... @@ -19,7 +19,6 @@ 19 19 20 20 = **2. RSSH Introduction** = 21 21 22 - 23 23 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. 24 24 25 25 (% style="color:red" %)**Important Notice:** ... ... @@ -39,13 +39,10 @@ 39 39 40 40 41 41 42 - 43 43 == **2.1 For Firmware Version lower than lgw~-~-build-v5.4.1616478814-20210323-1355** == 44 44 45 - 46 46 === **2.1.1 End User Guide to use SSH access** === 47 47 48 - 49 49 Go to this the Reverse SSH page as below: 50 50 51 51 [[image:image-20220527102348-1.png]] ... ... @@ -57,11 +57,11 @@ 57 57 58 58 Connection OK. 59 59 60 -* (% style="color:#4f81bd" %)**Login ID**(%%): 61 -* (% style="color:#4f81bd" %)**Host Address**(%%): 62 -* (% style="color:#4f81bd" %)**Host Port**(%%): 55 +* (% style="color:#4f81bd" %)**Login ID**(%%): Input (% style="color:#4f81bd" %)**sshuser** 56 +* (% style="color:#4f81bd" %)**Host Address**(%%): Input** (% style="color:#4f81bd" %)support.dragino.com(%%)** 57 +* (% style="color:#4f81bd" %)**Host Port**(%%): Please email to support @ dragino.com to get a valid host port. 63 63 * (% style="color:#4f81bd" %)**Connect at Startupt**(%%): Choose to enable connect once device is powered. 64 -* (% style="color:#4f81bd" %)**Network Keys: 59 +* (% 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 65 65 66 66 ((( 67 67 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. ... ... @@ -122,7 +122,7 @@ 122 122 123 123 ==== **2.2.1.1 Install the SSH service for server** ==== 124 124 125 -===== **2.2.1.1.1 Step 1 120 +===== **2.2.1.1.1 Step 1:Download the SSH service code** ===== 126 126 127 127 1).git clone [[https:~~/~~/github.com/dragino/rssh-server.git>>url:https://github.com/dragino/rssh-server.git]] rssh-server 128 128 ... ... @@ -191,7 +191,7 @@ 191 191 ))) 192 192 193 193 194 -===== **2.2.1.1.2 Step 2 : 189 +===== **2.2.1.1.2 Step 2 :Install and run the RSS service** ===== 195 195 196 196 1): intall database for /var/rsshdb.sqlite3 and Server development port for 3721(The default is 3721) 197 197 ... ... @@ -223,7 +223,7 @@ 223 223 ))) 224 224 225 225 226 -===== **2.2.1.1.3 Step 3 : 221 +===== **2.2.1.1.3 Step 3 :Create a minimal SSH user (reverse SSH proxy for the gateway)** ===== 227 227 228 228 **1): (% style="color:#4f81bd" %)sudo useradd XXXXX(%%)** (custom user name) 229 229 ... ... @@ -242,9 +242,9 @@ 242 242 243 243 === **2.2.2 How does user get the gateway to connect to a user's private server** === 244 244 245 -===== **2.2.2.1 Step 240 +===== **2.2.2.1 Step1: Come bace the gateway web UI for get the gateway Public key** ===== 246 246 247 -1) in the system ~-~-> (% style="color:#4f81bd" %)**Remote Mgmt** 242 +1) in the system ~-~-> (% style="color:#4f81bd" %)**Remote Mgmt/span>** 248 248 249 249 [[image:image-20220527110531-7.png]] 250 250 ... ... @@ -251,7 +251,7 @@ 251 251 Remote Mgmt 252 252 253 253 254 -===== **2.2.2.2 Step 249 +===== **2.2.2.2 Step2: Authorization server** ===== 255 255 256 256 copy the Gateway Publickey into user's private server "/home/XXXXX/.ssh/authorized_keys" file. 257 257 ... ... @@ -260,7 +260,7 @@ 260 260 Publickey 261 261 262 262 263 -===== **2.2.2.3 Step 258 +===== **2.2.2.3 Step3: connecte private server** ===== 264 264 265 265 in the gateway web UI 266 266 ... ... @@ -279,7 +279,7 @@ 279 279 ))) 280 280 281 281 282 -===== **2.2.2.4 Step 4 : 277 +===== **2.2.2.4 Step 4 :Cheak is fine** ===== 283 283 284 284 Rssh Host connection Ok 285 285 ... ... @@ -295,7 +295,7 @@ 295 295 Check the gateway 296 296 297 297 298 -===== **2.2.2.5 Step 293 +===== **2.2.2.5 Step5:Create an authorization key file** ===== 299 299 300 300 1):sudo mkdir /home/xxxxx/.ssh; sudo touch /home/xxxxx/.ssh/authorizedkey 301 301 ... ... @@ -309,7 +309,7 @@ 309 309 310 310 === **2.2.3 How to Ser up a Reverse SSH access** === 311 311 312 -==== **2.2.3.1 Step 307 +==== **2.2.3.1 Step1: Log into the server system** ==== 313 313 314 314 [[image:image-20220527111145-12.png]] 315 315 ... ... @@ -316,7 +316,7 @@ 316 316 Loging server 317 317 318 318 319 -==== **2.2.3.2 Step 314 +==== **2.2.3.2 Step2:access the gateway** ==== 320 320 321 321 (% class="box" %) 322 322 (((