# Own Your Cloud Key Gen2 / Gen2+

## DISCLAIMER

Running this script on your Cloud Key will VOID your warranty. I have tested several times and I have no failures, but there is a first time for everything. Do not run this script unless you are willing to brick your device.

## STEPS

### Step 1

Factory Reset the Cloud Key

### Step 2

Log on to the Cloud Key web interface

### Step 3

Disable and Uninstall any UniFi Apps on the Cloud Key

### Step 4

Configure your network for static IP (You CANNOT change this later).

Alternatively, do what I do, and use your router to assign the IP dynamically using MAC reservation.

### Step 5

Enable SSH Access

### Step 6

Reboot the cloudkey

### Step 7

Connect to the cloudkey via SSH (root@ipaddress) and use the password you chose in step 5.

### Step 8

```
wget https://git.zaks.web.za/thisiszeev/linux-server-tools/raw/branch/main/own-your-cloudkey/own.sh && bash own.sh
```

## COMING SOON

I have a lot more to still document and add so check back soon or what the Ubiquity Subreddit for when I post updates.