While it does appear it's possible to manually implement key authentication, my understanding is that the manual configuration will not survive a reboot.Īs a result, I have been authenticating using a password. Here is a related link to a thread in the UniFi community forum: I use Putty ver 0.66 and the only thing I need to add for Auth is the Private Key fileĪre you using PuTTY and Private Key authentication to SSH into a UniFi OS Console? It's my understanding that Private Key authentication is not supported in the UniFi OS Console. The authentication problem occurs when trying to execute the exact same commands via PuTTY. Text ssh and authentication to the UniFi OS Console is successful when executing this command in Windows Terminal/PowerShell. UniFi Dream Machine Pro (UDM-Pro) star 5.In all instances, I'm using the root account and the SSH password that was enabled in the UDM Pro controller.Īny ideas as to the impediment I'm encountering with PuTTY? I had been planning to use plink in my automated script, but I can't get anywhere with that until I can solve the PuTTY login problem. PuTTY makes the connection to the UDM Pro but hits a wall because the UDM Pro denies access despite being fed the correct password. However, when I attempt to do the same thing using PuTTY, I get "Access denied" when I input the password (i.e., the very same password that works just fine in Windows Terminal). And once I'm logged into the root account, I am able to successfully shut down the UDM Pro using the poweroff command.
I am able to successfully SSH into my UDM Pro using Windows Terminal. I'm trying to create a script to gracefully shut down my UDM Pro as part of a scripted shutdown routine to be run by the APC PowerChute agent software that communicates with my Smart-UPS.