This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
router_to_router_ssh [2023/05/23 17:53] – [Overview] -resize screenshot: "20210921-152415.png" to 739x130 hogwild | router_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/ |
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 18: | Line 18: | ||
- Copy the Public key portion from the primary router and paste it into the “Authorized Keys” field in secondary router: \\ \\ {{: | - Copy the Public key portion from the primary router and paste it into the “Authorized Keys” field in secondary router: \\ \\ {{: | ||
- In the above screenshot, a pre-existing, | - In the above screenshot, a pre-existing, | ||
- | - Now, connect to the secondary router via an SSH session (running on the primary router). | + | - Now, connect to the secondary router via an SSH session (running on the primary router). |
\\ | \\ | ||
Line 25: | Line 25: | ||
- | ===== Example ===== | + | ===== Usage Example ===== |
This example will enable/ | This example will enable/ | ||
- | - This screenshot shows the status display of the Primary router before before the command is run: \\ \\ {{: | + | - This screenshot shows the status display of the Primary router before before the command is run: \\ \\ {{: |
- | - Now, we run the command (//ssh root@192.168.10.1 radio toggle 1//): \\ \\ {{: | + | - Now, we run the command (//ssh root@192.168.10.1 radio toggle 1//): \\ \\ {{: |
- | - This shows the status display after the command is run: \\ \\ {{: | + | - This shows the status display after the command is run: \\ \\ {{: |
+ | |||
+ | \\ | ||
+ | |||
+ | \\ | ||
- | ===== 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. |