How to: Mount a SFTP Folder (SSH + FTP) on Ubuntu Linux using SSHFS & Fuse

Purpose: to mount a remote directory on my local Ubuntu Linux Desktop system using SFTP (which is SSH in an FTP-like fashion).

The goal is to easily gain access to a remote system’s files through another folder on my desktop. Debina/Ubuntu allows you to easily mount SSH folders via the GUI, however, these mounts won’t show up in the terminal (and in some programs).

sshfs to accomplish this.

 Ubuntu’s SSHFS documentation here.

Sshfs and mount


  1. add your username to the fuse group.
    1. On Ubuntu, you would open a terminal window and perform the following:


  • SFTP server. I created a folder on my desktop called sftp.
  • Once the folder has been created, simply run sshfs using the appropriate login information (host username and IP), the host and local directories, and the SFTP connection is mounted on a folder on my desktop.

Ref: creating a bash alias


possible errors and workarounds


Create a bash alias to save time and typing



Hard drive speed test using Linux command line and hdparm

Note that all tests should be run multiple times and average time should be calculated to get more accurate result.

Bypassing hard drive’s buffer cache memory thus reading directly from the disk.

Read data from the second half of the disk that is if the hard drive size is 100GB.

To obtain cached reads run the following command:

Introduction to if

reference: http:// / LDP/Bash-Beginners-Guide/html/sect_07_01.html

bash comparison







Installation of the lrzip on the linux via terminal


Install gdrive terminal on linux ubuntu


debian reset root password