Better Way KM on 2 Macs to Communicate

Hi, @itucker8; welcome to the Keyboard Maestro forum!

Since you are a new forum user, I'm going to refer you to three references that will make your time here much more efficient:

Do you mean the Keyboard Maestro Engine is no longer running? If so, maybe you could open the Engine.log to diagnose the issue. See Help>Open Logs Folder.

With that said, you could create a macro that includes the Execute a Shell Script action. In the action you could enter the following shell commands:

ssh username@macname_or_ipaddress 'pgrep "Keyboard Maestro Engine" > /dev/null'

if [ $? -eq 0 ]; then
  echo "1"  # KM Engine is running on remote Mac.
else
  echo "0"  # KM Engine is not running on remote Mac.
fi

If you aren't familiar with ssh and keys, check out this page: How to Use SSH-Keygen to Generate an SSH Key on Mac

1 Like