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 - **Contents:** 1 + **Table of Contents:** 2 2 3 3 {{toc/}} 4 4 ... ... @@ -6,6 +6,7 @@ 6 6 7 7 = **1. Use Remote.it service** = 8 8 9 + 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. 10 10 11 11 (% style="color:red" %)**Important Notice:** ... ... @@ -18,6 +18,7 @@ 18 18 19 19 = **2. RSSH Introduction** = 20 20 22 + 21 21 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. 22 22 23 23 (% style="color:red" %)**Important Notice:** ... ... @@ -37,10 +37,13 @@ 37 37 38 38 39 39 42 + 40 40 == **2.1 For Firmware Version lower than lgw~-~-build-v5.4.1616478814-20210323-1355** == 41 41 45 + 42 42 === **2.1.1 End User Guide to use SSH access** === 43 43 48 + 44 44 Go to this the Reverse SSH page as below: 45 45 46 46 [[image:image-20220527102348-1.png]] ... ... @@ -52,11 +52,11 @@ 52 52 53 53 Connection OK. 54 54 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. 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. 58 58 * (% style="color:#4f81bd" %)**Connect at Startupt**(%%): Choose to enable connect once device is powered. 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 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 60 60 61 61 ((( 62 62 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. ... ... @@ -117,7 +117,7 @@ 117 117 118 118 ==== **2.2.1.1 Install the SSH service for server** ==== 119 119 120 -===== **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** ===== 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 :Install and run the RSS service** ===== 194 +===== **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 :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)** ===== 222 222 223 223 **1): (% style="color:#4f81bd" %)sudo useradd XXXXX(%%)** (custom user name) 224 224 ... ... @@ -237,9 +237,9 @@ 237 237 238 238 === **2.2.2 How does user get the gateway to connect to a user's private server** === 239 239 240 -===== **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** ===== 241 241 242 -1) in the system ~-~-> (% style="color:#4f81bd" %)**Remote Mgmt /span>**247 +1) in the system ~-~-> (% style="color:#4f81bd" %)**Remote Mgmt** 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 Step2: Authorization server** ===== 254 +===== **2.2.2.2 Step 2 : 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 Step3: connecte private server** ===== 263 +===== **2.2.2.3 Step 3 : 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 :Cheak is fine** ===== 282 +===== **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 Step5:Create an authorization key file** ===== 298 +===== **2.2.2.5 Step 5 : 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 Step1: Log into the server system** ==== 312 +==== **2.2.3.1 Step 1 : 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 Step2:access the gateway** ==== 319 +==== **2.2.3.2 Step 2 : access the gateway** ==== 315 315 316 316 (% class="box" %) 317 317 (((