https://support.apple.com/ru-ru/guide/mac-help/mchlp1066/mac System Settings -> General Sharing -> Remote Login (with disk) Remote Management