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

Posted on Apr 25, 2022 9:41 PM

Reply
1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Trying to program a shortcut in iPhone to turn my Mac Pro to sleep.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.