💾 Archived View for darknesscode.xyz › linux › ssh-file-system.gmi captured on 2024-05-10 at 10:42:48. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-11-04)

-=-=-=-=-=-=-

SSH File System (SSHFS)

Is a network file system protocol that allows you to securely access and mount remote filesystems over an SSH (Secure Shell) connection. SSHFS enables you to work with files and directories on a remote server as if they were located on your local machine. It's a convenient way to transfer files, work with remote resources, and manage remote servers.

Install

You need to install SSHFS on your local machine. Linux, you can install it using your package manager

Arch Linux

sudo pacman -S sshfs

Debian

sudo apt install sshfs

Void Linux

sudo xbps-install -S fuse-sshfs

Syntax

Specify the remote server's hostname or IP address, your SSH username, and the path to the remote directory

sshfs [user@]host:[directory] [local_mount_point]

For example

sshfs user@192.168.1.100:/var/www ~/remote-mount

You will be prompted to enter your SSH password or use SSH keys for authentication.

Here are a few important things to note about SSHFS

----------

Home

Linux

Notes

MicroLog

----------

© DarknessCode