SSHFS remote softlinks requires follow_symlinks
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.
firstname.lastname@example.org external HDD
- Laptop: remote SSHFS
ln -s /media/BigHDD ~/BigHDD
On laptop create
#!/bin/sh sshfs -o follow_symlinks email@example.com: ~/X
mkdir ~/X chmod +x joeBigHDD.sh
Connect to remote HDD from laptop via SSHFS
./joeBigHDD.sh cd ~/X/BigHDD
To disconnect the SSHFS drive, on laptop:
fusermount -uz ~/X