Site Tools


router_to_router_ssh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
router_to_router_ssh [2023/05/23 18:01] – [Example] -resize screenshot: "pasted:20210921-152637.png" to 761x52 hogwildrouter_to_router_ssh [2023/05/24 02:08] (current) – [Notes] -changed subhead to "Passwordless Router-to-Router SSH Notes" hogwild
Line 11: Line 11:
   * As seen below, for switching wireless radio(s) on or off on a schedule (not shown).   * As seen below, for switching wireless radio(s) on or off on a schedule (not shown).
  
- \\+=====  Setting up/Establishing a Tunnel =====
  
 Follow these steps to generate a Keypair and establish an SSH tunnel: Follow these steps to generate a Keypair and establish an SSH tunnel:
Line 25: Line 25:
  
  
-===== Example =====+===== Usage Example =====
  
 This example will enable/disable the eth1 5Ghz WiFi interface on the secondary router. (Temperature is shown only when the interface is enabled).  \\  \\ This example will enable/disable the eth1 5Ghz WiFi interface on the secondary router. (Temperature is shown only when the interface is enabled).  \\  \\
  
   - This screenshot shows the status display of the Primary router before before the command is run: \\ \\ {{:pasted:20210921-152542.png?736}} \\ \\    - This screenshot shows the status display of the Primary router before before the command is run: \\ \\ {{:pasted:20210921-152542.png?736}} \\ \\ 
-  - Now, we run the command (//ssh root@192.168.10.1 radio toggle 1//): \\ \\ {{:pasted:20210921-152607.png?744}} \\ +  - Now, we run the command (//ssh root@192.168.10.1 radio toggle 1//): \\ \\ {{:pasted:20210921-152607.png?744}} \\ \\ 
   - This shows the status display after the command is run: \\ \\ {{:pasted:20210921-152637.png?761}} \\  \\ Since "radio toggle 1" is  a toggle switch, if the same command is repeated, the eth1 interface will be disabled on the primary router.   - This shows the status display after the command is run: \\ \\ {{:pasted:20210921-152637.png?761}} \\  \\ Since "radio toggle 1" is  a toggle switch, if the same command is repeated, the eth1 interface will be disabled on the primary router.
  
Line 38: Line 38:
  
  
-===== Notes =====+===== Passwordless Router-to-Router SSH Notes =====
  
   * The SSH daemon must be enabled on both routers.   * The SSH daemon must be enabled on both routers.
router_to_router_ssh.1684861285.txt.gz · Last modified: 2023/05/23 18:01 by hogwild