安装所需 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
参考:
Think before you speak, read before you think.
安装所需 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
参考:
Leave a Reply