Unifi Dream Machine (UDM) CLI Access via SSH

Modified on Wed, 25 May, 2022 at 11:08 AM

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 192.168.1.1, you’d type 'ssh root@192.168.1.1' 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



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article