As expected, I cannot SSH in to my MacBook when I have left it with the lid shut/sleeping, but if I use my iPhone to access 'Find my Mac', the MacBook wakes and then I can SSH in.

However, when my iPhone goes to sleep/I quit 'Find my Mac', the SSH connection hangs.

Is it possible to use 'Find my Mac' to wake my MacBook for SSH and then have this connection persist after I close 'Find my Mac'?


1 Answer 1


Have you tried out caffeinate?

  • Welcome to Ask Different! Please refrain from adding comments in the Answer section, this is for answers to the questions. Once you have sufficient reputation you’ll be able to add comments and ask follow-up questions. To gain reputation, [answer questions that are clear and concise](meta.stacke
    – fsb
    Feb 13, 2020 at 17:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .