Enable SSH in the UDM Device settings:

  1. Click on the gear icon to access the UDM device settings
  2. Click on Advanced
  3. Enable SSH and set your SSH password

Within Windows Powershell, MacOS terminal or Linux terminal if your IP address was for example, you’d type 'ssh root@' and hit enter. Replace the IP, but the username is always root.

If this is your first time accessing the device, accept the authenticity of the host key by typing yes and hit enter. This will take you to a Linux Shell (bash). 

If you want to access the UniFi OS shell you can type 'unifi-os shell' and hit enter