SSHFS remote softlinks requires follow_symlinks

less than 1 minute read

Softlinks are useful on any operating system to replace long, complicated directory paths with a simpler one. Options for accessing remote softlinked paths over SSHFS is best done with the sshfs -follow_symlinks option. This works from Linux, Mac, BSD, Cygwin and Windows Subsystem for Linux.


  1. setup server:
    ln -s /media/BigHDD ~/BigHDD
  2. on laptop create
    sshfs -o follow_symlinks [email protected]: ~/X


    mkdir ~/X
    chmod +x
  3. connect to remote HDD from laptop via SSHFS
    cd ~/X/BigHDD
  4. To disconnect the SSHFS drive, on laptop:
    fusermount -uz ~/X



Leave a Comment