Using SSHFS (Secure Shell Filesystem)
SSHFS (Secure Shell Filesystem) allows you to securely mount your Ruachost hosting account’s filesystem on your local computer. Once mounted, you can browse, edit, and manage files on your hosting account as if they were stored locally — all over an encrypted SSH connection.
What is SSHFS?
Section titled “What is SSHFS?”SSHFS uses the SSH protocol to provide secure, encrypted access to your hosting files. With SSHFS, you can:
- Access remote files as if they were on your computer.
- Edit files directly with your local applications.
- Transfer files securely without needing a separate FTP client.
Requirements
Section titled “Requirements”Before using SSHFS, ensure you have:
- A Ruachost hosting account with SSH access enabled.
- Your SSH login details (hostname, username, port, and password or SSH key).
- SSHFS installed on your local computer (installation steps vary by operating system).
Setting Up SSHFS
Section titled “Setting Up SSHFS”On Windows
Section titled “On Windows”Windows does not include SSHFS by default. You can use Win-SSHFS (with Dokan library) or third-party tools like SSHFS-Win.
-
Install the required components (WinFsp + SSHFS-Win).
-
Open the SSHFS manager tool.
-
Enter your Ruachost server details:
- Host: yourdomain.com or server IP
- Port: usually 22 (or custom port if configured)
- Username: your Ruachost account username
- Password/Key: your SSH password or private key
-
Assign a drive letter (e.g.,
Z:). -
Click Mount.
Your hosting account will now appear as a local drive in Windows Explorer.
On macOS
Section titled “On macOS”-
Install macFUSE and SSHFS (available via osxfuse.github.io).
-
Open Terminal.
-
Create a local mount point:
Terminal window mkdir -p ~/mnt/website -
Mount your hosting account:
Terminal window sshfs username@yourdomain.com:/home/username ~/mnt/website- Replace
usernamewith your Ruachost account username. - Replace
yourdomain.comwith your domain or server IP. - Use
-p 7822if your SSH port is not the default 22.
- Replace
-
Access your files in Finder under the
mnt/ruachostdirectory.
To unmount:
umount ~/mnt/websiteOn Linux
Section titled “On Linux”-
Install SSHFS:
-
On Ubuntu/Debian:
Terminal window sudo apt-get install sshfs -
On CentOS/AlmaLinux/Fedora:
Terminal window sudo yum install fuse-sshfs
-
-
Create a local mount point:
Terminal window mkdir -p ~/mnt/ruachost -
Mount your hosting account:
Terminal window sshfs username@yourdomain.com:/home/username ~/mnt/website -
Access your files in your file manager or terminal.
To unmount:
fusermount -u ~/mnt/websiteSecurity Tips
Section titled “Security Tips”- Use SSH keys instead of passwords for stronger security.
- Restrict SSH access to trusted IPs where possible.
- Always unmount the filesystem when not in use.