Giter VIP home page Giter VIP logo

asus-rt-ac86u's Introduction

Asus-RT-AC86U

How to access the router using SSH without having to enter any password from a Windows 11 machine?

Prerequisites

  1. On you windows 11 machine, look for "Optional Features" and install OpenSSH Client"
  2. Press the Windows + R keys to open the Run dialog. Type services.msc and press Enter to open the Services management console. Find the OpenSSH Authentication Agent service in the list and double-click on it to open its properties. In the Startup type drop-down list, select Automatic. Click on the Start button to start the service. Click on the OK button to save your changes and close the properties window. After completing these steps, the ssh-agent service should be running on your system and you should be able to use it to store your private SSH key in memory.

Steps

  1. Open a CMD window as Administrator
  2. Create a new RSA key (ed25519 is not supported by Asus-RT-AC86U) by typing:

ssh-keygen -t rsa -b 8192 -C "MyMachineName-julie-yyyy-mm-dd"

Replace MyMachineName, julie and yyyy-mm-dd by their effective values (the comment as the end appear in the key and help to identify it) Enter a passphrase that you save in your password manager (e.g. Keypass) with username MyMachineName-julie-yyyy-mm-dd and a generated password of length 47 with Upper/Lower/Digit (to avoid conflicts with special characters like @ = when the password is used in URL)

  1. Open the file C:\Users\julie.ssh\id_rsa.pub and copy the content
  2. Go to the the UI of the router http://192.168.1.1/Advanced_System_Content.asp and paste the key on a new line in the field Authorized Key. Note: you may have different keys. One key per line.
  3. Add your private key to the ssh-agent by running the command: ssh-add C:\Users\julie\.ssh\id_rsa Optional: You can use the ssh-agent service to store your private SSH key in memory on Windows 11. ssh-agent is a program that runs in the background and acts as a holding area for your decrypted private keys, so you don’t have to enter your passphrase every time you use the key.

How to update the IP address behind my domain name?

Step to setup a custom ddns-start script

  1. log on using ssh to your router
  2. cd /jffs/scripts
  3. curl --silent -LJO https://raw.githubusercontent.com/Jambo15/Asus-RT-AC86U/main/ddns-start
  4. curl --silent -LJO https://raw.githubusercontent.com/Jambo15/Asus-RT-AC86U/main/.ddns_confidential
  5. edit /jffs/scripts/.ddns_confidential and update with the desired access information
  6. chmod u+rw,u-x,go-rwx /jffs/scripts/.ddns_confidential
  7. chmod u+rwx,go-rwx /jffs/scripts/ddns-start

asus-rt-ac86u's People

Contributors

jambo15 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.