<
From version < 17.1 >
edited by Xiaoling
on 2022/05/27 11:12
To version < 19.3 >
edited by Xiaoling
on 2022/05/30 11:31
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -3,8 +3,9 @@
3 3  {{toc/}}
4 4  
5 5  
6 -= 1. Use Remote.it service =
7 7  
7 += **1. Use Remote.it service** =
8 +
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:**
... ... @@ -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 =
19 += **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,10 +34,12 @@
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 ==
38 38  
39 -=== 2.1.1 End User Guide to use SSH access ===
40 40  
40 +== **2.1 For Firmware Version lower than lgw~-~-build-v5.4.1616478814-20210323-1355** ==
41 +
42 +=== **2.1.1 End User Guide to use SSH access** ===
43 +
41 41  Go to this the Reverse SSH page as below:
42 42  
43 43  [[image:image-20220527102348-1.png]]
... ... @@ -60,7 +60,7 @@
60 60  )))
61 61  
62 62  
63 -=== 2.1.2 How to Ser up a Reverse SSH access ===
66 +=== **2.1.2 How to Ser up a Reverse SSH access** ===
64 64  
65 65  Advance administrator can config a SSH server to provide support their end user themselves. Instruction is as below:
66 66  
... ... @@ -80,7 +80,7 @@
80 80  )))
81 81  
82 82  
83 -==== 2.1.2.1 Note for set up RSSH server ====
86 +==== **2.1.2.1 Note for set up RSSH server** ====
84 84  
85 85  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.
86 86  
... ... @@ -95,7 +95,7 @@
95 95  )))
96 96  
97 97  
98 -== 2.2 For Firmware Version higher than lgw~-~-build-v5.4.1618196981-20210412-1111 ==
101 +== **2.2 For Firmware Version higher than lgw~-~-build-v5.4.1618196981-20210412-1111** ==
99 99  
100 100  Below gateway support reverse SSH access:
101 101  
... ... @@ -110,11 +110,11 @@
110 110  )))
111 111  
112 112  
113 -=== 2.2.1 End User Guide to use SSH access ===
116 +=== **2.2.1 End User Guide to use SSH access** ===
114 114  
115 -==== 2.2.1.1 Install the SSH service for server ====
118 +==== **2.2.1.1 Install the SSH service for server** ====
116 116  
117 -===== 2.2.1.1.1 Step 1:Download the SSH service code =====
120 +===== **2.2.1.1.1 Step 1:Download the SSH service code** =====
118 118  
119 119  1).git clone [[https:~~/~~/github.com/dragino/rssh-server.git>>url:https://github.com/dragino/rssh-server.git]] rssh-server
120 120  
... ... @@ -183,7 +183,7 @@
183 183  )))
184 184  
185 185  
186 -===== 2.2.1.1.2 Step 2 :Install and run the RSS service =====
189 +===== **2.2.1.1.2 Step 2 :Install and run the RSS service** =====
187 187  
188 188  1): intall database for /var/rsshdb.sqlite3 and Server development port for 3721(The default is 3721)
189 189  
... ... @@ -215,7 +215,7 @@
215 215  )))
216 216  
217 217  
218 -===== 2.2.1.1.3 Step 3 :Create a minimal SSH user (reverse SSH proxy for the gateway) =====
221 +===== **2.2.1.1.3 Step 3 :Create a minimal SSH user (reverse SSH proxy for the gateway)** =====
219 219  
220 220  **1): (% style="color:#4f81bd" %)sudo useradd XXXXX(%%)** (custom user name)
221 221  
... ... @@ -232,9 +232,9 @@
232 232  **Now user "XXXXX" is the user with limited permissions of the current system**
233 233  
234 234  
235 -=== 2.2.2 How does user get the gateway to connect to a user's private server ===
238 +=== **2.2.2 How does user get the gateway to connect to a user's private server** ===
236 236  
237 -===== 2.2.2.1 Step1: Come bace the gateway web UI for get the gateway Public key =====
240 +===== **2.2.2.1 Step1: Come bace the gateway web UI for get the gateway Public key** =====
238 238  
239 239  1) in the system ~-~-> (% style="color:#4f81bd" %)**Remote Mgmt/span>**
240 240  
... ... @@ -298,22 +298,26 @@
298 298   check: sudo ls /home/xxxxx/.ssh/authorizedkey
299 299  )))
300 300  
301 -=== 2.2.3 How to Ser up a Reverse SSH access ===
302 302  
303 -==== 2.2.3.1 Step1: Log into the server system ====
305 +=== **2.2.3 How to Ser up a Reverse SSH access** ===
304 304  
305 -[[image:https://wiki.dragino.com/images/thumb/2/26/Loging_server.png/500px-Loging_server.png||height="69" width="500"]]
307 +==== **2.2.3.1 Step1: Log into the server system** ====
306 306  
309 +[[image:image-20220527111145-12.png]]
310 +
307 307  Loging server
308 308  
309 309  
310 -==== 2.2.3.2 Step2:access the gateway ====
314 +==== **2.2.3.2 Step2:access the gateway** ====
311 311  
316 +(% class="box" %)
317 +(((
312 312  $ cd rssh-server/
319 +)))
313 313  
314 314  Check the gateway linking to the server $ ./connect-gw.sh -l
315 315  
316 -[[image:https://wiki.dragino.com/images/thumb/e/ee/Check_gateway_link_server.png/500px-Check_gateway_link_server.png||height="157" width="500"]]
323 +[[image:image-20220527111219-13.png]]
317 317  
318 318  Check the gateway linking to the server
319 319  
... ... @@ -320,6 +320,6 @@
320 320  
321 321  access the gateway $ ./connect-gw.sh <GWID>
322 322  
323 -[[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"]]
330 +[[image:image-20220527111300-14.png]]
324 324  
325 325  reverse ssh access the gateway
image-20220527111300-14.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +28.6 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0