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.
Windows
SSHFS - WinFSP + SSHFS-Win
- Install the latest version of WinFSP
- Install the latest version of SSHFS-Win
- Open Windows Explorer and access
\\sshfs\user@server.whatbox.ca
and enter your password when prompted. If this does not work, pressWin+R
and runnet.exe use X: \\sshfs\user@server.whatbox.ca
instead, whereX:
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.
- Input
server.whatbox.ca
for Host,22
for the Port,user
for 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 withserver.whatbox.ca
as the host,21
(the default) as the port number,user
as 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
.bat
file with a single line:@<path\to>\rclone.exe mount remote: Z: --network-mode
. Replaceremote
with the name of the remote you just created, andZ:
with your preferred drive letter (or*
to let RClone choose an unused drive letter automatically every time you run it). - Open the
.bat
file 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 pressCtrl+C
; the drive will un-mount automatically.
macOS
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 - Command line (alternative)
-
Open Terminal and create a local mountpoint
mkdir ~/whatbox
-
Mount your slot with
sshfs
. Once mounted, it will also be accessible in Finder.sshfs -o reconnect,ServerAliveInterval=15,ServerAliveCountMax=3,cache_timeout=3600 user@server.whatbox.ca:/home/user/ ~/whatbox
When you are done, you can use Finder or the
umount
command to safely eject/unmount sshfsumount /Users/User-Name/whatbox
Linux
Nautilus
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.
SSHFS
- 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:
mkdir ~/whatbox
- Mount:
sshfs -o idmap=user user@server.whatbox.ca: ~/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
/etc/init
aswhatbox.conf
. Search Google for how to make startup scripts for other distros if your distro doesn't use Upstart.
CurlFtpFS
FTP has often better performance than SSH, so if SSHFS does not work for you, try CurlFtpFS.
Follow this guide.
rclone
Create an SFTP configuration and mount.