一、查看安全机制
csrutil status
# System Integrity Protection status: enabled => 安全模式开启
# System Integrity Protection status: disabled => 安全模式未开启
二、重启
Intel 处理器
确保您的 Mac 已连接到互联网。然后,将 Mac 开机并立即按住 Command (⌘)-R,直至看到 Apple 标志或其他图像。
Apple 芯片
确认电脑处于关机状态,之后按开机键不要放,持续按住电源按钮(正常屏幕上会有指引提示)直至看到启动选项窗口,其中包含一个标有“选项”字样的齿轮图标。选择“选项”,然后点按“继续”。
三、关闭安全模式
- 进去苹果个人账户
- 左上角
实用工具
--终端
# 关闭安全模式
csrutil disable
# 重启
reboot
四、查看状态
五、打开远程连接设置
如果报错
sudo systemsetup -f -setremotelogin on
- Connection refused 模式 Mac Scpconnection refused模式mac err_connection_refused connection connect refused failed connection network refused ubuntu sockjs err_connection_refused 1685340190468 err_connection_refused connection refused网页 connection connect refused stable connection the localhost refused connection scp subsystem request connection readiness coredns refused