Accessing remote file system with sshfs vs sftp

Everything about X, Gnome, KDE, ... and everything running on it

Accessing remote file system with sshfs vs sftp

Postby gurfle » 2018-05-11 20:32

In Debian 9.2 (stretch) I can get both to display the basics of remote file systems in the mate file browser (Caja), but am curious which is preferable.

It is curious that by typing from the command line:
Code: Select all
sshfs userid@hostname:/home/userid /media/hostname -o follow_symlinks
the correct userid appears in Caja,

but typing into Firefox or directly into the Caja "Location" bar:
Code: Select all
sftp://userid@hostname/home/userid
only the numeric UID shows up in Caja.

Obviously the correct UID has been setup in /etc/passwd for the sshfs method to work.
So why does Caja not figure out the username to display with sftp?
Is sftp generally just not as good/reliable as sshfs for use in file browsers like Caja?
Copying small a amount of files seems to work OK with sftp, but maybe it has other disadvantages besides the username display issue that I have not yet discovered.

Any thoughts on the matter will be greatly appreciated.
User avatar
gurfle
 
Posts: 341
Joined: 2009-06-04 02:08
Location: Seattle, Washington, US

Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable