← Home

Set Up USBNetLite (SSH Over USB)

A step-by-step guide to getting SSH and SFTP access to your Kindle's file system over USB, or over Wi-Fi, using usbnetlite.

This gives you full access to the Kindle's file system. Be very careful about what you change or delete. Only turn on Autostart (Step 10) after you have confirmed usbnetlite works.

What You Need

Install

Step 1: Install MRPI

Download MRPI for Kindle HF, unpack the archive, and copy its contents to the Kindle USB root, the first folder you see when you open the connected Kindle. The extensions and mrpackages folders should end up there.

Step 2: Install usbnetlite

Download both .bin packages from the releases page and put them in mrpackages on the Kindle. Safely eject and unplug the Kindle. Then type ;log mrpi into the Kindle's search bar and run it. You should see an installation progress screen. MRPI only picks up the package that suits your model.

If MRPI fails to install the package, your model is not supported. Stop here and ask for help in the Kindle Modding Community Discord.

Step 3: Make an authorization key

  1. Download PuTTY for your computer and run puttygen.
  2. Generate a key. It will ask you to move the mouse at random.
  3. Save the .ppk private key somewhere safe on your computer.
  4. Copy the public key text into a new file named authorized_keys, with no file extension.
  5. Put that file in usbnetlite/etc/dropbear/ on the Kindle USB root.
  6. Safely eject and unplug the Kindle.

Step 4: Windows only: RNDIS driver

Windows needs the generic RNDIS driver from Microsoft. It is a common driver and easy to find.

Step 5: Switch usbnetlite on

With the Kindle unplugged, type ;un into the search bar. The Kindle returns quietly to the home screen.

Step 6: Connect to the computer

Plug the Kindle in. You should no longer see the Kindle USB drive.

While usbnetlite is switched on, mass storage and MTP are disabled. You cannot copy files the normal way until you switch it off (see "Turning It Off").

Step 7: Set the computer's IP address

Open the settings for the new Ethernet adapter and set:

Step 8: Add the connection in WinSCP (or similar)

Create a new connection, for example Kindle USB, with:

Step 9: Connect

Connect and accept the new-key warning. Check that you can open the Kindle's storage and its command line (PuTTY).

Step 10: Autostart (only if everything works)

Create an empty file named auto, with no extension, in usbnetlite/ on the Kindle USB root. usbnetlite will then start after every restart.

Only do this once you know usbnetlite works. This setting can save a Kindle from a boot loop, so do not skip the testing.

Step 11: Restart the Kindle

Restart it to make sure everything comes back up.

Turning It Off

To get mass storage and MTP back, plug the Kindle in and type ;un into the search bar again. If you forget, the Kindle kernel panics and restarts, which is not a big deal. If Autostart is on, usbnetlite starts again after the restart.

Extra Settings

More settings live in usbnetlite/etc/config on the Kindle USB root. Add these lines if they are not there:

Changes only apply after a usbnetlite restart. When in doubt, restart the Kindle.

The project's README lists a default login of root / kindle. Check it for the current password options.

Credits