Think before you speak, read before you think.

挂载远程 sftp 目录至 mac OSX 本机目录

安装所需 osxfuse

brew cask install osxfuse
brew install sshfs

把远程目录 /data/v 挂载到 ~/v 目录下

sshfs -p 22 -o reconnect -o volname=v -o IdentityFile=~/.ssh/id_rsa [email protected]:/path/to/wherever /Volumes/SomeNiceName

参考:

SSHFS mount remote drive in finder


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *