1、報錯:出現(xiàn)Catalina SecureCRT.app已損壞,無法打開,你應該將它移到廢紙簍。
實際上是因為mac os 不允許安裝沒有證書的軟件。
解決:
- a、先打開 系統(tǒng)偏好設置 -> 安全與隱私 -> 通用 選項卡,檢查是否已經(jīng)啟用了 任何來源 選項。如果沒有啟用,先點擊左下角的小黃鎖圖標解鎖,然后選中任何來源。
- b、如果沒有這個選項,我們打開終端,輸入以下命令:
sudo spctl --master-disable
然后按下鍵盤的回車鍵(return),輸入密碼,再按回車鍵,完成。 - c、繞過公證。復制以下命令粘貼到終端后
sudo xattr -rd com.apple.quarantine
打開Finder(訪達),點擊左側的 應用程序,將應用拖進終端中,然后按鍵盤的回車鍵(return),輸入密碼,再按回車鍵,完成。
注意 quarantine 后面必須有個空格
2、意外退出,可能是之前裝過
codesign --force --deep --sign - /Applications/SecureCRT.app
注意后面的文件路徑,你可以打開訪達找到應用程序,找到要簽名的軟件,直接拖入終端界面,即可自動生成路徑。
3、安裝完成,使用SecureCRT報如下錯誤
The permissions on the "/cores" directory need to be changed to
include write permission for "other".
Please execute (or ask an admin to execute) the following from a
terminal window:
sudo chmod go+w /cores
If you would prefer not to change the permissions on the /cores
folder, you can turn off the Global option "Create core file when
application crashes".
應該是macOS的權限控制嚴格了,導致CRT沒有權限訪問/cores文件夾,這里關掉CRT崩潰時創(chuàng)建core轉儲文件即可
Option --> Global Options 取消 Create core file when application crashes 前面的復選框選擇即可