---
title: "How to SSH into Unifi AP"
description: "Not sure how to SSH into Unifi AP? Learn how to SSH into a Unifi AP, and reset unadopted Unifi APs by running commands and navigating through a controller."
canonical: "https://adamtheautomator.com/how-to-ssh-into-unifi-ap/"
---

# How to SSH into Unifi AP

> Not sure how to SSH into Unifi AP? Learn how to SSH into a Unifi AP, and reset unadopted Unifi APs by running commands and navigating through a controller.

Source: https://adamtheautomator.com/how-to-ssh-into-unifi-ap/

---

ATA Learning

Tap to hide

[

ATA Learning

](/)

*   [Home](/)
*   [Tutorials](/tutorials/)
*   [Instructors](/author/)
*   [Advertising](/advertising/)
*   [Recommended Resources](/resources/)
*   [About Adam](/about-adam/)

Search for:  

*   [](https://twitter.com/adbertram)
*   [](https://github.com/Adam-the-Automator)
*   [](https://www.linkedin.com/company/adam-the-automator-llc)
*   [](/feed/)

![How to SSH into Unifi AP (Access Point)](https://adamtheautomator.com/wp-content/uploads/2021/12/How-to-SSH-into-a-Unifi-AP.jpg)

# How to SSH into Unifi AP (Access Point)

[![](https://secure.gravatar.com/avatar/6fac870bd46517f209a580d0af97a407e8dbf66931a2417ce76d0a09198a43b4?s=192&d=mm&r=g)Anthony Metcalf](https://adamtheautomator.com/author/anthony-metcalf/)15 December 20214 min. read

Categories: [IT Ops](/category/it-ops/)

Tags:[SSH](/tag/ssh/)[Unifi](/tag/unifi/)

Table of Contents

*   [Prerequisites](#prerequisites)
*   [Identifying a Previously Adopted Access Point](#identifying-a-previously-adopted-access-point)
*   [Accessing an Unadopted Access Point](#accessing-an-unadopted-access-point)
*   [Resetting a Previously Adopted Access Point](#resetting-a-previously-adopted-access-point)
*   [Resetting an Access Point’s Default Password](#resetting-an-access-points-default-password)
*   [Here’s How to SSH into Unifi AP via Accessing an Adopted Access Point](#heres-how-to-ssh-into-unifi-ap-via-accessing-an-adopted-access-point)
*   [Conclusion](#conclusion)

A new (or second-hand) [Ubiquiti Unifi Access Point (AP)](https://www.4gon.co.uk/ubiquiti-unifi-indoor-c-337_610_760.html) can be an intimidating beast. Setting up Unifi APs is different from most other networking equipment you may come across. But don’t worry, learn how to SSH into Unifi AP (access point) in this tutorial.

Ready? Read on to get started!

## Prerequisites

This tutorial comprises hands-on demonstrations. To follow along, ensure you have the following in place.

*   A [Unifi access point](https://ui.com/wi-fi). This tutorial uses a UAP-AC-Lite model, version 5.43.52.
*   An SSH client. This tutorial uses the Windows SSH client from a PowerShell prompt on Windows 11 Build 22518, but any SSH client will work.

Related:[How to Set Up OpenSSH on a Windows Server \[Complete Guide\]](https://adamtheautomator.com/openssh-windows/)

*   [A Unifi controller](https://www.ui.com/) (Ubiquiti) version 6.2.26 is used in this article.

Related:[How To Run Ubiquiti’s Discovery Tool](https://adamtheautomator.com/ubiquiti-discovery-tool/)

## Identifying a Previously Adopted Access Point

Before you can SSH into a Unifi AP, you must first determine if the AP was previously adopted or not. A controller centrally manages all Ubiquiti devices with an access point. An access point that a controller has claimed (associated with) is referred to as “adopted” while a new or factory rest AP is “unadopted”.

To view an AP’s status, open your favorite browser, and log in to your controller by connecting to the URL and filling in the username and password fields.

Next, click the AP icon on the left-hand side to display the device listing.

![Accessing Ubiquiti Device Listing ](https://adamtheautomator.com/wp-content/uploads/2021/12/image-125.png)

Accessing Ubiquiti Device Listing

The image below shows two APs connected to a controller. The first AP (denoted by a white status dot) is claimed by another system, while the controller claims the second AP (denoted by a green status dot).

Note the IP addresses of both APs like the ones below, as you’ll need them to access both APs later.

> _If you cannot see the AP in the devices page of the controller (or you haven’t set up a controller yet), try your DHCP server. The AP can usually be found on your internet router and should list all of the devices on your network with their IP and MAC addresses._
> 
> _You don’t need to know what a MAC address is, but know it’s on a label on the underside of the access point called “MAC ID.” Match the MAC address on your AP to an IP on your network, and you are good to go._

![Viewing Unifi Controller Device List](https://adamtheautomator.com/wp-content/uploads/2021/12/image-126.png)

Viewing Unifi Controller Device List

The status of the access point makes a difference as to which username and password that you use to connect to the AP. For an unadopted access point, or one which has been recently reset, the SSH credentials will be (depending on the firmware):

*   **Username**: `root` | **Password**: `ubnt`
*   **Username**: `ubnt` | **Password**: `ubnt`

But for the unadopted access point used in this tutorial, the credentials are `ubnt` for the username and `ubnt` as the password. Take note of the username and password, as you’ll need them to access the unadopted AP in the following section.

> _If the access point is adopted, the credentials will be root/your-SSO-account’s-password ([account.ui.com](https://account.ui.com/login?innerRedirect=%2F))._

## Accessing an Unadopted Access Point

Once you know your access points’ state, you can now access them, but first, start with accessing the unadopted one.

> _If the access point has been previously adopted, the username and password may have been reset, so jump to the “Accessing an Adopted Access Point” section._

Open a terminal, and run the command below to SSH into the AP. When prompted, enter the unadopted AP’s password you noted in the “Determining if the AP has Previously Been Adopted” section.

```powershell
ssh ubnt@192.168.88.84
```

If the SSH session is successful, you’ll get a **BusyBox built-in shell (ash)** message like below.

> _If the credentials do not work, reset the access point by [performing the reset procedure](https://help.ui.com/hc/en-us/articles/205143490-UniFi-How-to-Reset-Devices-to-Factory-Defaults) on your AP._

![Showing Successful SSH connection](https://adamtheautomator.com/wp-content/uploads/2021/12/image-127.png)

Showing Successful SSH connection

## Resetting a Previously Adopted Access Point

Now that you can access an unadopted AP via SSH, you can also access a previously adopted AP. But first, you’ll reset the previously adopted AP. Doing so sets the AP in a ready-to-be “adopted” state by your controller.

> _Resetting an AP causes downtime. So ideally, only try this on an Access Point that is not yet in use unless you’re prepared to face some angry users._

Run the `set-default` command below to clear Unifi access points config and reboot the AP, which takes a few minutes to complete. This command puts the AP into the same state as using the physical reset switch on the device.

```bash
set-default
```

![Resetting the AP configuration to factory default.](https://adamtheautomator.com/wp-content/uploads/2021/12/image-128.png)

Resetting the AP configuration to factory default.

## Resetting an Access Point’s Default Password

Not leaving your network settings on default is a sensible idea. A new username and password will automatically be set up with new details for your network when you adopt a device. So to be on the safe side, reset the default password now.

Run the `passwd` command at the shell prompt, and then enter a new password and confirm it.

```bash
passwd
```

![Changing the default password.](https://adamtheautomator.com/wp-content/uploads/2021/12/image-129.png)

Changing the default password.

## Here’s How to SSH into Unifi AP via Accessing an Adopted Access Point

Perhaps you have an adopted AP; how do you access it? SSH into the AP using the username and password you set up when configuring the controller.

> _Note that if you set up your controller to use your [account.ui.com](https://account.ui.com/login?innerRedirect=%2F) address and enable two-factor for device authentication, SSH access will not work._

If you do not know the AP username and password, you will need to factory reset the AP like in the “Resetting the Access point Default Password” section or use the controller to access the AP.

But you can also use the controller to reset the username and password globally. This action affects all adopted APs on your network.

To reset the credentials for all access points on your network:

1\. Open the controller, and select the settings (gear) icon.

2\. Navigate to **System Settings** —> **Controller Configuration**.

![Controller Configuration sits in "System Settings](https://adamtheautomator.com/wp-content/uploads/2021/12/image-130.png)

Controller Configuration sits in “System Settings

Now select **Device SSH Authentication** and change the **Username** and/or **Password** (or add **SSH Keys** for public-key authentication).

> _Avoid using “root” as the username as it’s a special user on the Linux-based operating system of the access point._

![Configuring Device SSH Authentication Settings](https://adamtheautomator.com/wp-content/uploads/2021/12/image-131.png)

Configuring Device SSH Authentication Settings

Finally, click the **Apply Changes** button to save the changes.

![](https://adamtheautomator.com/wp-content/uploads/2021/12/image-132.png)

## Conclusion

In this tutorial, you’ve learned that there’s nothing you can do from the console of Unifi AP that you can’t also do from the controller. But still, knowing how to SSH onto Unifi AP is a handy exercise. This access method lets you quickly check and automatically pull information, such as the current AP firmware.

You can also SSH to an AP to update the firmware, which could be automated via SSH if you have many devices, rather than clicking through the web GUI of the controller.

Now how do you plan to build upon this newfound knowledge? Perhaps use SSH to integrate the AP into a configuration management system, such as [Salt](https://quintagroup.com/cms/python/salt) or [Ansible](https://www.ansible.com/), to automate updates?

Share this article

[Share on X](https://twitter.com/intent/tweet?url=https%3A%2F%2Fadamtheautomator.com%2Fhow-to-ssh-into-unifi-ap%2F&text=How%20to%20SSH%20into%20Unifi%20AP%20\(Access%20Point\))[Share on Facebook](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fadamtheautomator.com%2Fhow-to-ssh-into-unifi-ap%2F)[Share on LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fadamtheautomator.com%2Fhow-to-ssh-into-unifi-ap%2F)

## Related Posts

![](https://adamtheautomator.com/wp-content/uploads/2021/06/winSCP-command-line.jpg)

### [WinSCP Command-Line Simplified : Your Complete Reference](/winscp-command-line/)

Explore the depths of WinSCP Command-Line in our guide. Master file transfer and automation with expert tips, techniques, and practical examples for users at all levels.

![](https://adamtheautomator.com/wp-content/uploads/2022/09/How-to-Install-and-Use-Kitty-SSH-Client.jpg)

### [How to Install and Use Kitty SSH Client](/kitty-ssh/)

Discover a different terminal option with the Kitty SSH client and add this useful and powerful terminal client to your list of tools!

![](https://adamtheautomator.com/wp-content/uploads/2022/04/How-to-Use-SSHFS-Mount-with-Remote-Directories-over-SSH.jpg)

### [How to Use SSHFS Mount with Remote Directories over SSH](/sshfs-mount/)

Are you tired of using SCP to push or pull remote files? Using SSHFS mount will save you from misery, and this tutorial will teach you how, step-by-step!

## Categories

*   [IT Ops](/category/it-ops/)
*   [Cloud](/category/cloud/)
*   [DevOps](/category/devops/)
*   [Home Ops](/category/home-ops/)
*   [Information Security](/category/infosec/)
*   [Software Development](/category/software-development/)

## Site

*   [Home](/)
*   [Tutorials](/tutorials/)
*   [Instructors](/author/)
*   [Advertising](/advertising/)
*   [Recommended Resources](/resources/)
*   [About Adam](/about-adam/)

Copyright 2026© ATA Learning | [Privacy Policy](/privacy/)
