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.
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.