<
From version < 44.2 >
edited by Xiaoling
on 2022/07/25 16:53
To version < 44.3 >
edited by Xiaoling
on 2022/07/25 17:06
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -158,12 +158,12 @@
158 158  
159 159  
160 160  
161 -
162 162  === **2.2.1  End User Guide to use SSH access** ===
163 163  
164 164  
165 165  Go to this the Reverse SSH page as below:
166 166  
166 +
167 167  [[image:image-20220531150151-3.png]]
168 168  
169 169  Get the RSSH configure page
... ... @@ -181,6 +181,7 @@
181 181  * (% style="color:#037691" %)**Connect at Startup**(%%) : Choose to enable connect once the device is powered.
182 182  * (% style="color:#037691" %)**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
183 183  
184 +
184 184  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.
185 185  
186 186  
... ... @@ -187,11 +187,12 @@
187 187  
188 188  === **2.2.2  Set Up RSSH Server** ===
189 189  
191 +
190 190  Advance administrator can config a SSH server to provide support their end user themselves., Steps as below
191 191  
192 192  
193 193  
194 -==== **2.2.2.1  Step 1 : Download the SSH service code** ====
196 +==== (% style="color:blue" %)**Step 1 :  Download the SSH service code**(%%) ====
195 195  
196 196  
197 197  **1).**  git clone [[https:~~/~~/github.com/dragino/rssh-server.git>>url:https://github.com/dragino/rssh-server.git]] rssh-server
... ... @@ -234,24 +234,24 @@
234 234  
235 235  (% class="box infomessage" %)
236 236  (((
237 -**~ Step1:** Download the SQLit3 installation package
239 +**~ Step 1:** Download the SQLit3 installation package
238 238   sudo wget **[[https:~~/~~/www.sqlite.org/2021/sqlite-autoconf-3350400.tar.gz>>url:https://www.sqlite.org/2021/sqlite-autoconf-3350400.tar.gz]]**
239 239  
240 240  
241 -**Step2: **tar the SQLit3 installation package
243 +**Step 2: **tar the SQLit3 installation package
242 242   sudo tar -zxvf sqlite-autoconf-3350300.tar.gz
243 243  
244 -**Step3:** Generate the makefile
246 +**Step 3:** Generate the makefile
245 245   cd sqlite-autoconf-3350300/;./configure
246 246  
247 -**Step4:** Compile makefile
249 +**Step 4:** Compile makefile
248 248   sudo make
249 249  
250 -**Step5:** Install makefile
252 +**Step 5:** Install makefile
251 251   sudo make install
252 252  
253 253  **Check:**
254 - cd /usr/local/bin;ls -al                             ~-~->    Check to see if there is a file for sqlite3
256 + cd /usr/local/bin;ls -al  ~-~->    Check to see if there is a file for sqlite3
255 255   cd sqlite-autoconf-3350300/;./sqlite3 test.db        ~-~->    Test whether the sqlite3 was installed successfully
256 256  
257 257  **debug:**
... ... @@ -262,7 +262,7 @@
262 262  
263 263  
264 264  
265 -==== **2.2.2.2  Step 2 : Install and run the RSS service** ====
267 +==== (% style="color:blue" %)**Step 2 :  Install and run the RSS service**(%%) ====
266 266  
267 267  
268 268  **1). ** install database for /var/rsshdb.sqlite3 and Server development port for 3721(The default is 3721)
... ... @@ -291,7 +291,7 @@
291 291  
292 292  
293 293  
294 -==== **2.2.2.3  Step 3 : Create a minimal SSH user (reverse SSH proxy for the gateway)** ====
296 +==== (% style="color:blue" %)**Step 3 :  Create a minimal SSH user (reverse SSH proxy for the gateway)**(%%) ====
295 295  
296 296  
297 297  (% class="box infomessage" %)
... ... @@ -308,7 +308,7 @@
308 308  
309 309  
310 310  
311 -==== **2.2.2.4  Step 4 : Create an authorization key file** ====
313 +==== (% style="color:blue" %)**Step 4 :  Create an authorization key file**(%%) ====
312 312  
313 313  
314 314  **1):**  sudo mkdir /home/xxxxx/.ssh; sudo touch /home/xxxxx/.ssh/authorizedkey
... ... @@ -322,9 +322,10 @@
322 322  === **2.2.3  How does user get the gateway to connect to a user's private server** ===
323 323  
324 324  
325 -==== **2.2.3.1  Step 1 : Come back the gateway web UI to get the gateway Public key** ====
326 326  
328 +==== (% style="color:blue" %)**Step 1 :  Come back the gateway web UI to get the gateway Public key**(%%) ====
327 327  
330 +
328 328  **1)**  in the system ~-~-> (% style="color:#037691" %)**Remote Mgmt/span**
329 329  
330 330  [[image:image-20220531152419-11.png]]
... ... @@ -331,7 +331,7 @@
331 331  
332 332  
333 333  
334 -==== **2.2.3.2  Step 2 : Authorization server** ====
337 +==== (% style="color:blue" %)**Step 2 :  Authorization server**(%%) ====
335 335  
336 336  
337 337  Input the Gateway Publickey into user's private server "/home/XXXXX/.ssh/authorized_keys" file.
... ... @@ -340,7 +340,7 @@
340 340  
341 341  
342 342  
343 -==== **2.2.3.3  Step 3 : Connect private server** ====
346 +==== (% style="color:blue" %)**Step 3 :  Connect private server**(%%) ====
344 344  
345 345  
346 346  This is same as connect Dragino Support Server but just change the server address to customize server address.
... ... @@ -349,7 +349,7 @@
349 349  
350 350  
351 351  
352 -==== **2.2.3.4  Step 4 : Check Connection** ====
355 +==== (% style="color:blue" %)**Step 4 :  Check Connection**(%%) ====
353 353  
354 354  
355 355  Rssh Host connection Ok
... ... @@ -363,7 +363,7 @@
363 363  
364 364  
365 365  
366 -==== **2.2.3.5  Step 5 : Access the gateway from customized server** ====
369 +==== (% style="color:blue" %)**Step 5 :  Access the gateway from customized server**(%%) ====
367 367  
368 368  
369 369  Check what gateways link to server.
... ... @@ -370,7 +370,7 @@
370 370  
371 371  (% class="box infomessage" %)
372 372  (((
373 -$ ./connect-gw.sh -l
376 +**$ ./connect-gw.sh -l**
374 374  )))
375 375  
376 376  [[image:image-20220531153016-16.png]]
... ... @@ -381,7 +381,7 @@
381 381  
382 382  (% class="box infomessage" %)
383 383  (((
384 -$ ./connect-gw.sh <GWID>
387 +**$ ./connect-gw.sh <GWID>**
385 385  )))
386 386  
387 387  [[image:image-20220531153219-17.png]]
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0