Changes for page Remote Access Gateway
Last modified by Kilight Cao on 2022/07/25 10:47
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Kilight1 +XWiki.Xiaoling - Content
-
... ... @@ -7,16 +7,17 @@ 7 7 = **1. Use Remote.it service** = 8 8 9 9 10 -Remote.it for remote access is available in the latest Dragino firmware for gateway. For security concern s, the remote.it only available base on end-user demand.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:** 13 13 14 -* Remote.it access will give full control of your device to remote support. 15 -* The Remote.it allow Dragino Support to remote access to the device, If user want to access himself, it need to sign up for an remote.it account. 16 -* 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]]. 14 +* (% style="color:red" %)**Remote.it access will give full control of your device to remote support.** 15 +* (% style="color:red" %)**The Remote.it allow Dragino Support to remote access to the device, If user want to access himself, it need to sign up for an remote.it account.** 17 17 17 +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]]. 18 18 19 19 20 + 20 20 = **2. RSSH Introduction** = 21 21 22 22 ... ... @@ -37,6 +37,9 @@ 37 37 * LIG16 38 38 * MS14 series if installed with the same firmware. 39 39 41 + 42 + 43 + 40 40 == **2.1 For Firmware Version lower than lgw~-~-build-v5.4.1616478814-20210323-1355** == 41 41 42 42 ... ... @@ -89,9 +89,8 @@ 89 89 90 90 91 91 92 -==== (% style="color:blue" %)**Note for set up RSSH server**(%%)====96 +==== **2.1.2.1 Note for set up RSSH server** ==== 93 93 94 - 95 95 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. 96 96 97 97 (% class="box" %) ... ... @@ -105,7 +105,6 @@ 105 105 ))) 106 106 107 107 108 - 109 109 == **2.2 For Firmware Version higher than lgw~-~-build-v5.4.1618196981-20210412-1111** == 110 110 111 111 ... ... @@ -236,8 +236,8 @@ 236 236 237 237 (% class="box" %) 238 238 ((( 239 - **if fail to open dpvlry or to bind to it**240 - **please kill rssh_serv,and run (% style="color:#4f81bd" %) ./rssh_serv -p 3721 2>&1 &(%%)**(%style="color:#4f81bd" %)(%%)**again**241 +if** fail to open dpvlry or to bind to it** 242 +please kill rssh_serv,and run (% style="color:#4f81bd" %)** ./rssh_serv -p 3721 2>&1 &** (%%) again 241 241 ))) 242 242 243 243 ... ... @@ -245,13 +245,13 @@ 245 245 ===== (% style="color:blue" %)**Step 3 : Create a minimal SSH user (reverse SSH proxy for the gateway)**(%%) ===== 246 246 247 247 248 -**1): (% style="color:#4f81bd" %)sudo useradd XXXXX(%%)** **(custom user name)**250 +**1): (% style="color:#4f81bd" %)sudo useradd XXXXX(%%)** (custom user name) 249 249 250 250 **2):** (% style="color:#4f81bd" %)**sudo passwd xxxxxx** 251 251 252 252 **3):** (% style="color:#4f81bd" %)**cp /bin/bash /bin/rbash** 253 253 254 -**4):** (% style="color:#4f81bd" %)**sudo nano /etc/passwd**(%%) **~-~-> Change /bin/bash to /bin/rbash**256 +**4):** (% style="color:#4f81bd" %)**sudo nano /etc/passwd**(%%) ~-~-> Change /bin/bash to /bin/rbash 255 255 256 256 **5):** (% style="color:#4f81bd" %)**sudo nano /home/xxxxx/.bashrc**(%%) **empty it,and input export PATH=$HOME/bin** 257 257 ... ... @@ -268,7 +268,7 @@ 268 268 ===== (% style="color:blue" %)**Step 1 : Come bace the gateway web UI for get the gateway Public key**(%%) ===== 269 269 270 270 271 -**1) **(% style="color:#4f81bd" %)**Remote Mgmt**273 +**1) **in the system ~-~-> (% style="color:#4f81bd" %)**Remote Mgmt** 272 272 273 273 [[image:image-20220527110531-7.png]] 274 274 ... ... @@ -299,12 +299,12 @@ 299 299 300 300 (% class="box" %) 301 301 ((( 302 -(% style="color:#4f81bd" %)**Connection Type **(%%) : **If user's least privileged user with private server uses a password, select**(% style="color:#4f81bd" %)**Public Key**(%%)304 +(% style="color:#4f81bd" %)**Connection Type **(%%) : If user's least privileged user with private server uses a password, select (% style="color:#4f81bd" %)**Public Key**(%%) 303 303 (% style="color:red" %)**Note: if user's least privileged user no uses a password,choose from both is fine**(%%) 304 -(% style="color:#4f81bd" %)**Login ID**(%%) : **Input user name "eg : "XXXXX"**305 -(% style="color:#4f81bd" %)**Host Address**(%%) : **Input user's private server address**306 -(% style="color:#4f81bd" %)**Connect at Startupt **Choose to enable connect once device is powered.**307 - **Click Save and then Connect**306 +(% style="color:#4f81bd" %)**Login ID**(%%) : Input user name "eg : "XXXXX" 307 +(% style="color:#4f81bd" %)**Host Address**(%%) : Input user's private server address 308 +(% style="color:#4f81bd" %)**Connect at Startupt**(%%): Choose to enable connect once device is powered. 309 +Click Save and then Connect 308 308 ))) 309 309 310 310 ... ... @@ -330,9 +330,8 @@ 330 330 ===== (% style="color:blue" %)**Step 5 : Create an authorization key file**(%%) ===== 331 331 332 332 333 -**1):** **sudo mkdir /home/xxxxx/.ssh; sudo touch /home/xxxxx/.ssh/authorizedkey**335 +**1):** sudo mkdir /home/xxxxx/.ssh; sudo touch /home/xxxxx/.ssh/authorizedkey 334 334 335 - 336 336 **Debug:** 337 337 338 338 (% class="box" %) ... ... @@ -341,7 +341,6 @@ 341 341 ))) 342 342 343 343 344 - 345 345 === **2.2.3 How to Ser up a Reverse SSH access** === 346 346 347 347