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,7 @@ 3 3 {{toc/}} 4 4 5 5 6 -= **1. Use Remote.it service**=6 += 1. Use Remote.it service = 7 7 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 ... ... @@ -15,7 +15,7 @@ 15 15 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]]. 16 16 17 17 18 -= **2. RSSH Introduction**=18 += 2. RSSH Introduction = 19 19 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 ... ... @@ -34,11 +34,10 @@ 34 34 * LIG16 35 35 * MS14 series if installed with the same firmware. 36 36 37 +== 2.1 For Firmware Version lower than lgw~-~-build-v5.4.1616478814-20210323-1355 == 37 37 38 -== **2.1ForFirmwareVersionlowerthanlgw~-~-build-v5.4.1616478814-20210323-1355**==39 +=== 2.1.1 End User Guide to use SSH access === 39 39 40 -=== **2.1.1 End User Guide to use SSH access** === 41 - 42 42 Go to this the Reverse SSH page as below: 43 43 44 44 [[image:image-20220527102348-1.png]] ... ... @@ -61,7 +61,7 @@ 61 61 ))) 62 62 63 63 64 -=== **2.1.2 How to Ser up a Reverse SSH access**===63 +=== 2.1.2 How to Ser up a Reverse SSH access === 65 65 66 66 Advance administrator can config a SSH server to provide support their end user themselves. Instruction is as below: 67 67 ... ... @@ -81,7 +81,7 @@ 81 81 ))) 82 82 83 83 84 -==== **2.1.2.1 Note for set up RSSH server**====83 +==== 2.1.2.1 Note for set up RSSH server ==== 85 85 86 86 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. 87 87 ... ... @@ -96,7 +96,7 @@ 96 96 ))) 97 97 98 98 99 -== **2.2 For Firmware Version higher than lgw~-~-build-v5.4.1618196981-20210412-1111**==98 +== 2.2 For Firmware Version higher than lgw~-~-build-v5.4.1618196981-20210412-1111 == 100 100 101 101 Below gateway support reverse SSH access: 102 102 ... ... @@ -111,11 +111,11 @@ 111 111 ))) 112 112 113 113 114 -=== **2.2.1 End User Guide to use SSH access**===113 +=== 2.2.1 End User Guide to use SSH access === 115 115 116 -==== **2.2.1.1 Install the SSH service for server**====115 +==== 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**=====117 +===== 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**=====186 +===== 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)**=====218 +===== 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 ... ... @@ -233,9 +233,9 @@ 233 233 **Now user "XXXXX" is the user with limited permissions of the current system** 234 234 235 235 236 -=== **2.2.2 How does user get the gateway to connect to a user's private server**===235 +=== 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**=====237 +===== 2.2.2.1 Step1: Come bace the gateway web UI for get the gateway Public key ===== 239 239 240 240 1) in the system ~-~-> (% style="color:#4f81bd" %)**Remote Mgmt/span>** 241 241 ... ... @@ -311,10 +311,7 @@ 311 311 312 312 ==== **2.2.3.2 Step2:access the gateway** ==== 313 313 314 -(% class="box" %) 315 -((( 316 316 $ cd rssh-server/ 317 -))) 318 318 319 319 Check the gateway linking to the server $ ./connect-gw.sh -l 320 320 ... ... @@ -325,6 +325,6 @@ 325 325 326 326 access the gateway $ ./connect-gw.sh <GWID> 327 327 328 -[[image:image -20220527111300-14.png]]324 +[[image:https://wiki.dragino.com/images/thumb/b/b7/Reverse_ssh_access_the_gateway1.png/500px-Reverse_ssh_access_the_gateway1.png||height="230" width="500"]] 329 329 330 330 reverse ssh access the gateway