- Create
config.gateway.json
to configure USG - Create
config.properties
to configure switch / AP / etc... - Place
config.gateway.json
andconfig.properties
indata/sites/default
- Restart controller (maybe?)
- Reprovision all devices
Last active
February 23, 2020 13:29
-
-
Save mafredri/98114f411767473ad0a23d53e3628b13 to your computer and use it in GitHub Desktop.
Add custom SSH keys to the Ubiquiti UniFi Controller
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"system": { | |
"login": { | |
"user": { | |
"ubnt": { | |
"authentication": { | |
"public-keys": { | |
"user@hostname": { | |
"key": "AAAA...B", | |
"type": "ssh-rsa" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.system_cfg.1=sshd.auth.key.1.status=enabled | |
config.system_cfg.2=sshd.auth.key.1.value=AAAA...B | |
config.system_cfg.3=sshd.auth.key.1.type=ssh-rsa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment