<
From version < 13.2 >
edited by Xiaoling
on 2022/05/27 11:07
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  
... ... @@ -262,20 +262,20 @@
262 262  
263 263  (% class="box" %)
264 264  (((
265 -(% class="mark" %)**Connection Type **(%%) : If user's least privileged user with private server uses a password, select (% class="mark" %)**Public Key**(%%)
268 +(% style="color:#4f81bd" %)**Connection Type **(%%) : If user's least privileged user with private server uses a password, select (% style="color:#4f81bd" %)**Public Key**(%%)
266 266  **Note:if user's least privileged user no uses a password,choose from both is fine**
267 -(% class="mark" %)**Login ID**(%%)             : Input user name "eg : "XXXXX"
268 -(% class="mark" %)**Host Address**(%%)         : Input user's private server address
269 -(% class="mark" %)**Connect at Startupt**(%%): Choose to enable connect once device is powered.
270 +(% style="color:#4f81bd" %)**Login ID**(%%)             : Input user name "eg : "XXXXX"
271 +(% style="color:#4f81bd" %)**Host Address**(%%)         : Input user's private server address
272 +(% style="color:#4f81bd" %)**Connect at Startupt**(%%): Choose to enable connect once device is powered.
270 270  Click Save and then Connect
271 271  )))
272 272  
273 273  
274 -===== 2.2.2.4 Step 4 :Cheak is fine =====
277 +===== **2.2.2.4 Step 4 :Cheak is fine** =====
275 275  
276 276  Rssh Host connection Ok
277 277  
278 -[[image:https://wiki.dragino.com/images/thumb/6/6f/Rssh_Host_connection_Ok.png/500px-Rssh_Host_connection_Ok.png||height="225" width="500"]]
281 +[[image:image-20220527111009-10.png]]
279 279  
280 280  Rssh Host connection Ok
281 281  
... ... @@ -282,12 +282,12 @@
282 282  
283 283  user can use common ps | grep ssh to check it in the gateway.
284 284  
285 -[[image:https://wiki.dragino.com/images/thumb/a/ad/Check_the_gateway.png/500px-Check_the_gateway.png]]
288 +[[image:image-20220527111041-11.png]]
286 286  
287 287  Check the gateway
288 288  
289 289  
290 -===== 2.2.2.5 Step5:Create an authorization key file =====
293 +===== **2.2.2.5 Step5:Create an authorization key file** =====
291 291  
292 292  1):sudo mkdir /home/xxxxx/.ssh; sudo touch /home/xxxxx/.ssh/authorizedkey
293 293  
... ... @@ -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-20220527111009-10.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +22.5 KB
Content
image-20220527111041-11.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +13.4 KB
Content
image-20220527111145-12.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +6.3 KB
Content
image-20220527111219-13.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +9.1 KB
Content
image-20220527111300-14.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +28.6 KB
Content
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0