login:sshfs-win:start
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| login:sshfs-win:start [2020/03/16 15:00] – created paulg | login:sshfs-win:start [2021/12/01 10:33] (current) – namtran | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| + | |||
| + | ===== SSHFS Windows | ||
| - | Mapping network drive via SSHFS for Windows | ||
| === Requirements: | === Requirements: | ||
| Line 9: | Line 10: | ||
| * Download and install the latest version of SSHFS For Windows | * Download and install the latest version of SSHFS For Windows | ||
| - | https:// | + | https:// |
| - | === Basic Usage === | + | ==== Basic Usage ==== |
| Once you have installed WinFsp and SSHFS-Win you can map a network drive to a directory on an SSH host using Windows Explorer. | Once you have installed WinFsp and SSHFS-Win you can map a network drive to a directory on an SSH host using Windows Explorer. | ||
| Line 25: | Line 26: | ||
| In order to unmap the drive, right-click on the drive icon in Windows Explorer and select Disconnect. | In order to unmap the drive, right-click on the drive icon in Windows Explorer and select Disconnect. | ||
| - | |||
| - | |||
| - | === More Examples - command line === | ||
| Line 33: | Line 31: | ||
| * The '' | * The '' | ||
| + | === More Examples === | ||
| * Mapping www from indigo use \\sshfs\REMUSER@indigo.eecs.yorku.ca\www | * Mapping www from indigo use \\sshfs\REMUSER@indigo.eecs.yorku.ca\www | ||
| * Mapping share from indigo use \\sshfs.r\REMUSER@indigo.eecs.yorku.ca\eecs\dept\share | * Mapping share from indigo use \\sshfs.r\REMUSER@indigo.eecs.yorku.ca\eecs\dept\share | ||
| + | |||
| + | * Mapping www from indigo - command line | ||
| + | |||
| + | |||
| + | C: | ||
| + | The password is invalid for \\sshfs\REMUSER@indigo.eecs.yorku.ca\www. | ||
| + | | ||
| + | Enter the user name for ' | ||
| + | Enter the password for sshfs: | ||
| + | The command completed successfully. | ||
| + | |||
| + | * Mapping share from indigo - command line | ||
| + | |||
| + | |||
| + | C: | ||
| + | The password is invalid for \\sshfs.r\REMUSER@indigo.eecs.yorku.ca\eecs\dept\share. | ||
| + | | ||
| + | Enter the user name for ' | ||
| + | Enter the password for sshfs.r: | ||
| + | The command completed successfully. | ||
| + | |||
| + | === Resolving permission issues when files/ | ||
| + | |||
| + | When a user uses sshfs and creates a file/folder on the server the default permission will be: | ||
| + | |||
| + | < | ||
| + | -rwx------ 1 namtran tech 0 Dec 18 10:37 test1.txt | ||
| + | </ | ||
| + | |||
| + | This is okay for home directory but for shared files/ | ||
| + | |||
| + | < | ||
| + | [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\WinFsp\Services\sshfs.r] | ||
| + | CommandLine value: | ||
| + | svc %1 %2 %U -o create_dir_umask=007 -o create_file_umask=117 | ||
| + | </ | ||
| + | |||
| + | Now when you create a file/ | ||
| + | |||
| + | < | ||
| + | -rw-rw---- | ||
| + | </ | ||
| + | |||
login/sshfs-win/start.1584385259.txt.gz · Last modified: by paulg
