1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

JFFS workaround for SSH authorized keys?

Discussion in 'Asuswrt-Merlin' started by David Cavalli, Feb 25, 2020.

  1. David Cavalli

    David Cavalli Occasional Visitor

    Joined:
    Jan 26, 2019
    Messages:
    49
    Location:
    Henderson, NV
    After the upgrade to Merlin 384.15, I've had the "Your router is running low on free NVRAM" warning. My first thought was that the three SSH authorized keys I stored in Admin>System>Service were the main problem. I removed them and the warning message went away.

    Since I want the SSH keys there if possible, I read through the forum to find other ways to minimize NVRAM usage. I was successfully able to setup DHCP allocations with /jffs/configs/dnsmasq.conf.add instead of the GUI, but it wasn't enough to remove the errors. I then found a "for" loop that removed empty lines in the NVRAM and recommitted it. THAT lowered the NVRAM usage from 62k/65k to 51k and no warning.

    I'm coming to the forum now to find out if there's a way to remove the three authorized keys from the GUI configuration and somehow put it in the jffs section, like the DHCP reservations. Any advice on this, or other things I can do to minimize NVRAM usage appreciated.

    Thanks! :)