1. 安装brew,参考https://gitee.com/cunkai/HomebrewCN
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
选的清华大学下载源,下载完成后重启终端,或
source /Users/xxx/.zprofile2.
brew install macfuse
brew install sshfs但brew install sshfs出错,
Error: sshfs has been disabled because it requires closed-source macFUSE!
因此下载pkg安装
https://github.com/osxfuse/sshfs/releases3. 文件挂载
sshfs username@server:path local_path4. 取消挂载
umount mount_path版权声明:本文为m0_37733057原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。