Wiki > Mounting as a volume
It is possible to mount your slot as a remote volume for file management in the same program you use for managing them on your local system. The advantage of this approach over other methods is that your /home folder on the server will be mounted as a local volume or share.
SSHFS - WinFSP + SSHFS-Win
- Install the latest version of WinFSP
- Install the latest version of SSHFS-Win
- Open Windows Explorer and access
\\sshfs\firstname.lastname@example.org enter your password when prompted. If this does not work, press
net.exe use X: \\sshfs\email@example.com, where
X:is the drive letter you want to use for your slot. You will be prompted for your username and password.
SSHFS - Dokan (alternative)
- Install Dokan Library
- Install win-sshfs.
22for the Port,
userfor User, select the button next to Password, and input your password.
- Change Directory to read
/home/user/and select a drive letter that is not currently used by your computer.
- Type in a name for your settings at the top and click Save to use your settings later.
- Click Mount and the drive will appear on your computer. Right-click on the tray icon to disconnect.
Note: Windows 8 or 8.1 will need to run the Dokan library installer in Windows 7 Compatibility mode.
FTP with explicit TLS - RClone + WinFSP (alternative)
- Install the latest version of WinFSP
- Download the latest Windows version of RClone and place it somewhere you'll remember.
- Open Command Prompt and type
<path\to>\rclone.exe config. Create a new FTP remote with
server.whatbox.caas the host,
21(the default) as the port number,
useras the username, and your slot password. Make sure to set the TLS option to False and the Explicit TLS option to True. The remote name can be whatever you want, as long as RClone can store the necessary characters in its config file.
- Create a
.batfile with a single line:
@<path\to>\rclone.exe mount remote: Z: --network-mode. Replace
remotewith the name of the remote you just created, and
Z:with your preferred drive letter (or
*to let RClone choose an unused drive letter automatically every time you run it).
- Open the
.batfile to mount your slot as a network drive. RClone will continue running in a command-line window for as long as the connection is maintained. To stop the connection, switch to the command-line window and press
Ctrl+C; the drive will un-mount automatically.
Mac OS X
Finder - FTP with explicit TLS
With the Finder focused, open Connect to Server... from the Go menu. Type in
ftps://server.whatbox.ca/ and hit Connect. Entering your whatbox username and password will then allow you read-only access to your files through Finder. You will still need to use third-party SFTP/SSHFS software to access/mount your slot as read-write.
SSHFS - Macfusion GUI
- Install FUSE for macOS. Check "MacFUSE Compatibility Layer" in the installer when installing.
- Download Macfusion and copy it to the /Applications folder
- Connect to your slot via SSH in Terminal to accept the host key.
- Open Macfusion and click on + to add an SSHFS connection
User Name, input your slot password for
- Click on the
Macfusiontab and set a mount point (for example,
/Users/OSX-User-Name/whatbox) and a volume name.
Mount. If everything went correctly the volume will be visible on either the desktop and/or in the Finder sidebar (make sure to toggle "Connected Servers" in Finder Preferences)
SSHFS - Command line (alternative)
Open Terminal and create a local mountpoint
Mount your slot with
sshfs. Once mounted, it will also be accessible in Finder.
sshfs -o reconnect,ServerAliveInterval=15,ServerAliveCountMax=3,cache_timeout=3600 firstname.lastname@example.org:/home/user/ ~/whatbox
When you are done, you can use Finder or the
umountcommand to safely eject/unmount sshfs
From the menu in Nautilus, open Connect to Server... from the File menu. Type in
server.whatbox.ca for the Server: and select either
FTP (with login) or
SSH. Entering your Whatbox username and password will then allow you to manage your files using Nautilus.
- Install FUSE and sshfs through your distribution's package manager. On distributions based on Debian like Ubuntu/Kubuntu, open a terminal window and type
sudo apt-get install sshfs
- Add yourself to the fuse user group, if it exists.
sudo gpasswd -a $USER fuse
- If you had to re-add yourself to the fuse user group, log out and log back in.
- Create a local mountpoint:
sshfs -o idmap=user email@example.com: ~/whatbox
- Remote files will now be accessible through a file browser and applications in ~/whatbox
- You're probably going to want this to run every time you boot. You can only do so if you automatically log in via public key authentication. See here or here. Here is an init script for Ubuntu, place it in
whatbox.conf. Search Google for how to make startup scripts for other distros if your distro doesn't use Upstart.
FTP has often better performance than SSH, so if SSHFS does not work for you, try CurlFtpFS.
Follow this guide.