e46efbc38ddf3bcf07221e354cb3e76f8d9e37ce
faq-sshfs.md
| ... | ... | @@ -4,10 +4,7 @@ |
| 4 | 4 | |
| 5 | 5 | Installation requires administrative privileges. |
| 6 | 6 | |
| 7 | -Prior to installing, you should make sure that [password-less |
|
| 8 | -ssh](faq-setting-up-passwordless-ssh.md) is configured correctly |
|
| 9 | -between the local system and the remote system. |
|
| 10 | - |
|
| 7 | +Prior to installing, you should make sure that [password-less-ssh](faq-setting-up-passwordless-ssh) is configured correctly between the local system and the remote system. |
|
| 11 | 8 | |
| 12 | 9 | 1. Download OSXFuse (`dmg`) (`pkg`) from <http://osxfuse.github.io> |
| 13 | 10 | 2. Open OSXFuse `dmg` , run installer |
| ... | ... | @@ -24,12 +21,8 @@ For example, `sshfs meyer@schl15:/nfs/userdocs/ps/meyer /sshfs` would use |
| 24 | 21 | `schl15` as a host to access the directory `/nfs/userdocs/ps/meyer` (in other |
| 25 | 22 | words, that user's NFS home directory). |
| 26 | 23 | |
| 27 | -### Unmounting remote filesystems |
|
| 28 | - |
|
| 29 | -`umount /sshfs` |
|
| 24 | +On Linux, if you don't have root or sudo access, you can mount sshfs via a directory in your home directory. Just remember to specify the PATH to the directory. You will need the fuse-sshfs package installed. |
|
| 30 | 25 | |
| 31 | -On Linux, if you don't have root or sudo access, you can mount sshfs via a directory in your home directory. Just remember to specify th |
|
| 32 | -e fill PATH to the directory. On Centos, you will need the `fuse-sshfs` package installed. |
|
| 33 | 26 | |
| 34 | 27 | ## OS X (Mac) helpful hints |
| 35 | 28 | |
| ... | ... | @@ -38,7 +31,9 @@ An example of mounting from OSX on your local system is as follows - |
| 38 | 31 | `sudo chown -R $USER /sshfs` |
| 39 | 32 | `/usr/local/bin/sshfs oconnor@crystal.harvard.edu:/nfs/userdocs /sshfs/userdocs -o volname=userdocs,reconnect,ServerAliveInterval=15,ServerAliveCountMax=3,idmap=user,auto_xattr,dev,suid,defer_permissions,noappledouble,noapplexattr,IdentityFile=$HOME/.ssh/sshfs-id_rsa` |
| 40 | 33 | |
| 41 | -Basically, your local user needs to own the destination $PATH. We mount one complete filesystem from the remote site(avoids local Apple Finder issues). We give the volume a name (shows mount point on your desktop), add some additional options for server connections, etc. If you are using an [ssh key](faq-setting-up-passwordless-ssh.md) you would add it's path to the IdentityFile paramater. |
|
| 34 | +Basically, your local user needs to own the destination $PATH. We mount one complete filesystem from the remote site(avoids local Apple Finder issues). We give the volume a name (shows mount point on your desktop), add some additional options for server connections, etc. If you are using an [password-less-ssh](faq-setting-up-passwordless-ssh) you would add it's path to the IdentityFile paramater. |
|
| 35 | + |
|
| 36 | +### Unmounting remote filesystems |
|
| 42 | 37 | |
| 43 | 38 | On occasion the mount may become stuck or unresponsive you can force unmount via - |
| 44 | 39 | `diskutil umount force /sshfs/userdocs` |