This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| router_to_router_ssh [2024/10/31 22:38] – old revision restored (2024/10/31 22:28) - Formatting hogwild | router_to_router_ssh [2025/10/17 18:38] (current) – [Passwordless Router-to-Router SSH Notes] hogwild | ||
|---|---|---|---|
| Line 17: | Line 17: | ||
| Follow these steps to generate a Keypair and establish an SSH tunnel: | Follow these steps to generate a Keypair and establish an SSH tunnel: | ||
| - | - On the primary router (the one issuing SSH commands) generate a Keypair \\ by typing the command: | + | - On the primary router (the one issuing SSH commands) generate a Keypair \\ by typing the command: |
| - | - 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 SSH (running on the primary router). | - Now, connect to the secondary router via SSH (running on the primary router). | ||
| Line 27: | Line 27: | ||
| \\ | \\ | ||
| + | |||
| ===== Usage Example ===== | ===== Usage Example ===== | ||
| Line 44: | Line 45: | ||
| ===== Passwordless Router-to-Router SSH 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. |
| * The key generated will be erased after a reboot of the Primary router. | * The key generated will be erased after a reboot of the Primary router. | ||
| - | * Either keep a copy of the " | + | * Either keep a copy of the " |
| - | * Be prepared to repeat (steps 1. and 2.) after a reboot, \\ removing | + | * Be prepared to repeat (steps 1. and 2.) after a reboot, |
| - | This guide was produced using [[https:// | + | \\ This guide was produced using [[https:// |
| - | Inspiration was provided by [[https:// | + | Inspiration was provided by [[https:// |
| \\ | \\ | ||