LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-19-2017, 05:00 PM   #1
schnappi
Member
 
Registered: Apr 2017
Posts: 52

Rep: Reputation: 3
Sshfs gui


The command line

Code:
sshfs user@server:/ /mnt -o idmap=user
is okay but GUI programs like Gigolo and SiriKali make mounted volume auto appear in PCMan File Manager which is very nice. Also mounted volume containers usually get removed after unmounting when using a GUI based program. So with all this in mind is anyone aware of a GUI to mount SSHFS volumes?

Gigolo does not seem to mount SSHFS volumes. Rather it just seems to provide an interface to access SFTP.

Found this so far: https://github.com/tgraven/sshfs-connection-tool

Last edited by schnappi; 05-19-2017 at 05:05 PM.
 
Old 05-19-2017, 10:17 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 22,086

Rep: Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441
sshfs=sftp. gigolo is the only GUI tool I know about except for those file managers i.e Nautilus etc that have a built in sftp virtual file system.

As far as I know gigolo uses gvfs-fuse and sshfs uses the regular fuse for lack of a better term.

In a nutshell sshfs allows you to "mount" a remote filesystem that uses the sftp(ssh) protocol between the client and server.
 
1 members found this post helpful.
Old 05-19-2017, 10:29 PM   #3
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.2
Posts: 1,125

Rep: Reputation: 269Reputation: 269Reputation: 269
Could this be what you're looking for:

sftpman-gtk


https://github.com/spantaleev/sftpman-gtk
Code:
# pip install sftpman-gtk
cheers,

Last edited by mrclisdue; 05-19-2017 at 10:31 PM.
 
Old 05-19-2017, 10:34 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 22,086

Rep: Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441
Not familiar but good to know...

Last edited by michaelk; 05-19-2017 at 10:36 PM.
 
Old 05-25-2017, 08:14 PM   #5
schnappi
Member
 
Registered: Apr 2017
Posts: 52

Original Poster
Rep: Reputation: 3
Thanks. Just wish there was a more maintained GUI for SSHFS.

By the way @michaelk. SSHFS is not the same as SFTP. Different file system behavior.
 
Old 05-25-2017, 08:27 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 22,086

Rep: Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441
Quote:
SSHFS (SSH Filesystem) is a filesystem client to mount and interact with directories and files located on a remote server or workstation over a normal ssh connection. The client interacts with the remote file system via the SSH File Transfer Protocol (SFTP)
https://en.wikipedia.org/wiki/SSHFS

SSHFS uses the Filesystem in Userspace (FUSE) to mount remote filesystems via ssh in a location users can easily access as if they were local files on his/her computer.
 
Old 05-25-2017, 08:33 PM   #7
schnappi
Member
 
Registered: Apr 2017
Posts: 52

Original Poster
Rep: Reputation: 3
Same SSH protocol. Different file system behavior for SSHFS and SFTP.
 
Old 05-25-2017, 08:56 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 22,086

Rep: Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441
Quote:
Different file system behavior.
Again, sshfs creates a virtual file system so that it looks the same as a local filesystem that uses the sftp network protocol. IMHO that is the same. The different behavior in this instance might be the fact that one is command line and the other is the file browser which uses gvfs.
 
Old 05-25-2017, 08:59 PM   #9
schnappi
Member
 
Registered: Apr 2017
Posts: 52

Original Poster
Rep: Reputation: 3
It doesn't really matter how similar/ different SSHFS/ SFTP are. Thanks for your help.
 
Old 05-27-2017, 02:28 AM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 18,138
Blog Entries: 12

Rep: Reputation: 5534Reputation: 5534Reputation: 5534Reputation: 5534Reputation: 5534Reputation: 5534Reputation: 5534Reputation: 5534Reputation: 5534Reputation: 5534Reputation: 5534
Quote:
Originally Posted by schnappi View Post
Thanks. Just wish there was a more maintained GUI for SSHFS.
i just don't really see the need for a gui here; sshfs can be automated & scripted, and once it is executed the remote connection becomes part of your filesystem so all gui tools (filemanagers etc) work with it.
if you really need a gui tool to initialise the connection(s), i suggest to write it yourself! i'm not being snarky, it's just some shell scripting and yad/zenity/xdialog.

trawling my package manager for sshfs, i get this (besides the actual sshfs package):
Code:
autosshfs-git c9dc8cd-1
Per user SSHFS automount using user's SSH configuration

qsshfs 1.0.1-1
A gui wrapper around sshfs, written in Qt

rrun-ssh 0.3.0-1
Remote run utility; runs a command in an SSHFS-mounted directory.

sftpman 1:0.6.2-1
Application that handles sshfs/sftp file systems mounting.

sftpman-gtk 0.4.3-1
GTK frontend for SftpMan (application that handles sshfs/sftp file systems mounting).

sshmnt 1.6-3
A utility for managing multiple sshfs profiles from the commandline
sftpman and sftpman-gtk received a significant number of votes, so i'd start with that if i were you.

me, i have no need for this. one connection is always automounted at login, the other can be invoked with a script.

aside:
i don't know why, but it seems sshfs is not very popular.
i'm guessing there's another way to implement the same functionality, but i haven't found it yet.
 
1 members found this post helpful.
Old 05-28-2017, 05:01 PM   #11
schnappi
Member
 
Registered: Apr 2017
Posts: 52

Original Poster
Rep: Reputation: 3
Am usually a huge fan of command line over GUI (steep learning curve but wow it makes things easier once get hang of it) so am really surprised that am advocating a GUI for something. That being said really just want SSHFS drives to show up under devices in PCMan and maybe Thunar (but expect the "devices" behavior is the same for both). Whenever mount something with Gigolo or SiriKali (if mounted folder in in home folder) it shows up in devices. The reason that like this is that makes for simple one-click unmount instead of having to sudo the umount script or manually do it.

Next week will try mounting SSHFS to a folder in home folder instead of in /mnt and see if the drive shows up in PCMan devices.
 
Old 05-29-2017, 01:55 AM   #12
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 18,138
Blog Entries: 12

Rep: Reputation: 5534Reputation: 5534Reputation: 5534Reputation: 5534Reputation: 5534Reputation: 5534Reputation: 5534Reputation: 5534Reputation: 5534Reputation: 5534Reputation: 5534
so you want the UNmounted sshfs volume to show up in the filemanager, like a usb?

try spacefm, it has the kind of configurability that might make this possible.
 
Old 04-06-2018, 11:23 AM   #13
mhogomchungu
LQ Newbie
 
Registered: Mar 2014
Posts: 20

Rep: Reputation: Disabled
SiriKali can now manage sshfs[1] volumes. This FAQ entry[2] has information on how to setup SiriKali to manage sshfs connections.

[1] https://github.com/mhogomchungu/sirikali/issues/61
[2] https://github.com/mhogomchungu/siri...-an-ssh-server
 
  


Reply

Tags
sshfs


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] SSHFS and Encryption NotAComputerGuy Linux - Newbie 5 01-26-2014 04:09 AM
SSHFS questio xiangzhang Linux - Newbie 1 08-16-2011 08:51 AM
NetworkManagerDispatcher and sshfs mulebreath Linux - Newbie 1 09-22-2010 03:47 AM
sshfs tunnelling dair-targ Linux - Networking 5 03-28-2010 11:33 AM
Anyone using Slackware and SSHFS? JockVSJock Slackware 6 12-20-2005 06:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration