matteosecli / matteosecli/Ulysses-doc

SFTP v SSHFS intrigue [Ubuntu 20.04 LTS]

Open
#1 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
8
Forks
2
PR merge metrics
No merged PRs in 30d

Description

HI!
First of all thanks again for this beautiful doc. It's helping A LOT.

I have noticed a slight discrepancy between what you state about the advantges of SSHFS over SFTP and what actually happens in my setup (Ubuntu 20.04 LTS). Either something has changed in the while, or I'm failing to follow; or even something subtle may be happening behind the scenes. More on this later. **o^O--,**

#### 1. About SFTP drawbacks:
> « Mounting a folder via the SFTP protocol doesn’t make it behave exactly as a local folder. For example, *you cannot open a local terminal in it.* [...] »

The *emphasized part* appears to be a false/outdated statement: if I sftp connect to either Ulysses or the .phys workstation using the built-in procedure in ```Nautilus``` I *can* open a local terminal. I tested its true locality by opening ```$HOME/.bashrc``` with ```gedit``` on Ulysses; in a remote terminal this would have been impossibile for sure. **o^O--,**

#### 2. About SSHFS advantages:
Actually you don't really state it, but since you are referring to it as
> « a more flexible solution that allows you to open local terminals »

I assumed it to be able to *also open remote terminals* (which is indeed useful!). But if I follow are the steps you describe to link a local folder to the cluster storage I *don't see* the option to open the remote terminal. So in the end it appears as the *more flexible* solutions is actually SFTP.

#### 3. About SSHFS being broken:
I could not manage to effectively bookmark the SSHFS link. If I click on ```Add bookmark``` I get the *local* folder bookmaked, but not the SSHFS link! If I manage to unmount (which is definitely flawed, as you state...) I lost the link forever: clicking the bookmark does just open the local folder, withour any *stargate* opening. If I instead access to SFTP via ```+ Other locations``` and I bookmark it, everything works fine and pleasant. So I think you'd definitely want to recommend SFTP over SSHFS in the end...

-------
**o^O--,** Finally a disclaimer: at first I just trusted you and never tried to open a local terminal with SFTP (but I'm sure the option was there...). Then I think I may have tried and failed to open .bashrc with gedit. But in all the noise of what I was doing (and suffering) I'm not really sure about it. Just know that I've done everything with vim in the end.
After all the true work&pain with my installations I returned to the guide to supposedly upgrade to SSHFS and encountered all the issues described in points **2.** and **3.**. So just after having SSHFS installed I retried with native nautilus SFTP and succeded with the local terminal and gedit. **May it be that *just installing* SSHFS somehow improves the nautilus SFTP experience?**

I may uninstall SSHFS to shed light more systematically on the issue, but most probably not in the immediate. Sorry for that, I need to go full-productive from tomorrow already. When I'll do it I'll come here to comment.
Nevertheless to me it appears that for sure at least *some* rewriting of the ```Explore Files in a User-Friendly Way``` section is needed.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the “Explore Files in a User-Friendly Way” section and reproduce the reported Nautilus SFTP and SSHFS behavior on Ubuntu 20.04, including terminals, gedit, and bookmarks. Compare the documented advantages and drawbacks with the observed results; done means the section accurately explains the verified behavior and recommendation.

Written by the indexing model from the issue text.

Assessment

Tech stack
ubuntu
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.