... | ... | @@ -32,22 +32,24 @@ When a host file is provided to visit, assign to it the server should be visible |
|
|
![visit](uploads/ab68e29709dbb72b7725654f5b8a146a/visit.png)
|
|
|
|
|
|
# Opening remote files using `sshfs`
|
|
|
## Linux machine
|
|
|
As an alternative option, you can `sshfs` utility (`ssh file system`). With this tool, you can mount remote locations on your local computer. For example, the command below will mount the remote folder (`dwarf.if.pw.edu.pl:/home/gabrielw`) in the local folder (`/home/gabrielw/sshfs/dwarf/home`):
|
|
|
```
|
|
|
sshfs dwarf.if.pw.edu.pl:/home/gabrielw /home/gabrielw/sshfs/dwarf/home
|
|
|
```
|
|
|
This method is less efficient than working in client-server mode; however, it allows one to visualize data located on remote systems without an installed visit tool and without downloading the data.
|
|
|
|
|
|
# Windows machine
|
|
|
## Windows machine
|
|
|
Instruction is based on: https://github.com/winfsp/sshfs-win.
|
|
|
|
|
|
## SSHFS
|
|
|
#### prerequests
|
|
|
### Prerequests
|
|
|
- The latest stable version of [WinFS](https://github.com/winfsp/winfsp).
|
|
|
- The newest stable version of [SSHFS-Win](https://github.com/winfsp/sshfs-win) is compatible with your system.
|
|
|
- **_Optionally_**, the [SSHFS-Win Manager]() frontend interface is available as well. The interface provides a convenient GUI interface for establishing and managing connections.
|
|
|
#### Adding remote FileSystem
|
|
|
##### If You did not installed the SSHFS-Win Manager follow this instructions:
|
|
|
|
|
|
### Adding remote FileSystem
|
|
|
|
|
|
**If You did not installed the SSHFS-Win Manager follow this instructions**:
|
|
|
1. You need to map a remote FileSystem. It is done in the `File Explorer` -> right click on `This PC` -> `Map network drive...`
|
|
|
![map-network-drive-windows-explorer](uploads/fc9163a765c0f7448c4e76ec8c0be901/map-network-drive-windows-explorer.png)
|
|
|
2. Now mount the remote FileSystem with the following command:
|
... | ... | @@ -58,7 +60,8 @@ for connecting to DWARF storage file use: |
|
|
```
|
|
|
\\sshfs\USERNAME@dwarf66.if.pw.edu.pl\..\..home2\archive\ntg\
|
|
|
```
|
|
|
##### If have installed the SSHFS-Win Manager follow this instructions:
|
|
|
|
|
|
**If have installed the SSHFS-Win Manager follow this instructions**:
|
|
|
1. Open SSHFS-Win Manager
|
|
|
2. Click `Add Connection`
|
|
|
|
... | ... | |