Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Accessing remote file system with sshfs vs sftp

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
User avatar
gurfle
Posts: 367
Joined: 2009-06-04 02:08
Location: Seattle, Washington, US

Accessing remote file system with sshfs vs sftp

#1 Post by gurfle »

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.

Post Reply