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 revisionBoth sides next revision
router_to_router_ssh [2023/05/23 15:23] – -condense, clarity, formatting hogwildrouter_to_router_ssh [2023/05/23 15:26] hogwild
Line 3: Line 3:
 ===== Overview ===== ===== Overview =====
  
-FreshTomato includes [[https://matt.ucc.asn.au/dropbear/dropbear.html|Dropbear]], an SSH client/server program. Dropbear can generate an encryption KeyPair that offers password-less connections. A command is run on the primary router which generates a public key.  That Public Key must then be pasted into the secondary router’s //Authorized Keys //field, in the SSH Daemon section of the [[:admin_access|Admin Access]] menu.\\  \\ This setup allows a primary router, (the "SSH Client") to control a secondary router (the "SSH Host"), from the command-line.+This setup allows a primary router, (the "SSH Client") to control a secondary router (the "SSH Host"), from the command-line, via an encrypted connection.
  
-This can be useful, for example:+FreshTomato includes [[https://matt.ucc.asn.au/dropbear/dropbear.html|Dropbear]], an SSH client/server program. Dropbear can generate an encryption KeyPair that offers password-less connections. A command is run on the primary router which generates a public key.  That Public Key must then be entered into the secondary router’s //Authorized Keys //field, in the SSH Daemon section of the [[:admin_access|Admin Access]] menu.\\  \\ This can be useful, for example:
  
   * When the the secondary router system does not maintain its system clock, and time-sensitive jobs must be scheduled.   * When the the secondary router system does not maintain its system clock, and time-sensitive jobs must be scheduled.
   * For running scripts on the secondary router for any supported command.   * For running scripts on the secondary router for any supported command.
-  * As seen below, for switching wireless radio(s) on or off to a schedule (not shown).+ 
 + As seen below, for switching wireless radio(s) on or off to a schedule (not shown).
  
   - On the primary router (the one issuing SSH commands) type the command: \\ **dropbearkey -t rsa -f ~/.ssh/id_dropbear** command to generate the KeyPair. \\ This will display a result similar to that shown below. Leave this window open. \\ You will need it for step 2.   - On the primary router (the one issuing SSH commands) type the command: \\ **dropbearkey -t rsa -f ~/.ssh/id_dropbear** command to generate the KeyPair. \\ This will display a result similar to that shown below. Leave this window open. \\ You will need it for step 2.
router_to_router_ssh.txt · Last modified: 2023/05/24 02:08 by hogwild