How to mount SSHFS from Ubuntu

A more secure alternative to NFS or SAMBA would be to use SSHFS.

Besides encrypting the data stream, it has many benefits, among which:

  1. Firewall-friendly, since it uses standard SSH ports
  2. Supports PKI

To mount an SSH filesystem from Ubuntu, do the following:

  1. sudo apt install sshfs
  2. sudo mkdir /MountPoint
  3. sudo sshfs username@server:/RemoteFileSystem /MountPoint

Note: You don’t need to use sudo to mount via sshfs, just make sure you have permissions on the local mount point.



About SoCRaT

Systems Engineer, OSS & Linux Geek
This entry was posted in Linux and tagged , , , , , . Bookmark the permalink.

1 Response to How to mount SSHFS from Ubuntu

  1. ΞXΤЯ3МΞ says:

    Do you know if this works for mounting a remote AWS disk (s3) ?


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s