• Automation
  • Scripting

How to fix Could not run Script Over SSH in iOS Shortcuts

March 02, 2022 • 1 min read

Learn how to enable scripts in iPhone Shortcuts

As you may already know, since iOS 14, with the Shortcuts app on the iPhone, you can run scripts over SSH on a server. However, due to security reasons, this feature may be disabled and you may have encounter the following message.

could not run script over ssh message

How to fix it

  1. First open up the settings app on your iphone and search for the Shortcuts app.

search field with shortcuts search query

  1. Click on the Shortcuts app result as you can see in the image above.
  2. Now click on Advanced

Shortcuts settings options with Advanced options circled in red

  1. Now go ahead and toggle the Allow Running Scripts option.

Toggle allow running scripts


By following these steps, you should be able to run your scripts now 😊