Trying to program a shortcut in iPhone to turn my Mac Pro to sleep.
I've been running into issues with this. I have setup a Run Script Over SSH shortcut that runs 'pmset sleepnow' on my Mac. I've created an SSH public key through the shortcuts app and pasted that key into my /.ssh/authorized-keys file. But it still pops up with a message, "Run Script Over SSH could not connect to the SSH server." I'm not sure what else I can do.
Mac Pro, macOS 12.3