< Return to Tutorials

Updating Your Password Over SSH

Jan 14, 2016

Keeping your network and devices secure means keeping your passwords secure. Occasionally you might find the need to update the password on your OpenWRT device. We’ll quickly run you through the steps to do this.

If you’re running Windows, you’ll need to download a tool called PuTTY. Linux and Mac systems will have SSH tools built in.

We’ll assume you’re running Windows for now and start off with PuTTY (If not, feel free to skip ahead to the actual command line interface steps).

If you haven’t already, download PuTTY and run it. It should look something like this:

Click Session on the left side, select SSH from the options, and then enter in the IP Address of your OpenWRT box into the Host Name field. Once you’ve done this just click on Open to start up the SSH connection.

This will open a command line interface asking you to provide a username and password to log in. Enter these details, and your SSH connection to your device will be established.

To get to this point from Linux or Mac, open your Terminal and type the below, where root is the username, and the IP is the IP of your OpenWRT device, and then confirm your password.

ssh [email protected]

Once you have logged in successfully, enter the below into the command line interface.

passwd

You will be asked to confirm your old password, at which point you will be able to set a new password for your account.


Cucumber Tony is a cloud based WiFi management platform for businesses. The firmware gives consumer-grade WiFi access points enterprise-like capabilities. Or you can utilise the captive portal solution with your existing infrastructure. Create a free account and check it here cucumberwifi.io

Come join Cucumber

Sign Up

Sign-up for Cucumber Tony, it's free for unlimited access points :)