Page 1 of 6 123 ... LastLast
Results 1 to 10 of 57

Thread: How can I connect to SFTP using Nautilus (Files)

  1. #1
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    5,261
    Distro
    Ubuntu

    Question How can I connect to SFTP using Nautilus (Files)

    I've searched the internet for a solution. All solutions that I found apply to old versions of Nautilus, and I can't make it work on my current version.

    I have access to a server via SFTP (I have the private RSA key, not a password). I can access it using FileZilla.

    It would be helpful for me to be able to access the server via Nautilus (renamed Gnome Files, or so I read).

    How can I access the server using SFTP via Nautilus?

    More information:

    • Ubuntu 20.04
    • Nautilus 3.36.3-stable (the default that comes with Ubuntu)
    • The server requires access over a custom port, not the default one.

    Thank you
    Last edited by Paddy Landau; July 30th, 2021 at 07:27 AM.
    Always make regular backups of your data (and test them).
    Visit Full Circle Magazine for beginners and seasoned Linux enthusiasts.

  2. #2
    Join Date
    May 2008
    Beans
    3,947
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: How can I connect to SFTP using Nautilus (Files)

    Is this attachment any help?
    Attached Images Attached Images

  3. #3
    Join Date
    May 2006
    Location
    Switzerland
    Beans
    2,907
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: How can I connect to SFTP using Nautilus (Files)

    Quote Originally Posted by Paddy Landau View Post
    How can I access the server using SFTP via Nautilus?
    Typing in a ssh:// path in the location bar does not work??
    Code:
    ssh://remoteuser@remoteserver:Port

  4. #4
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    5,261
    Distro
    Ubuntu

    Re: How can I connect to SFTP using Nautilus (Files)

    Quote Originally Posted by tea for one View Post
    Is this attachment any help?

    Thanks for your reply. Unfortunately, no. I can enter the server there, but I don't get any option to put in the keyfile, or the port, etc., as shown in internet searches.

    Maybe I'm entering the wrong details?

    I've tried the following (without the square brackets, obviously).

    sftp://[domain]
    sftp://[domain]:[port]
    sftp://[user]@[domain]
    sftp://[user]@[domain]:[port]

    I get the response, "Unable to access location. Permission denied."

    I'm not surprised that permission was denied, because it didn't ask for credentials. I need to give Nautilus the private key (as I do with FileZilla).
    Always make regular backups of your data (and test them).
    Visit Full Circle Magazine for beginners and seasoned Linux enthusiasts.

  5. #5
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    5,261
    Distro
    Ubuntu

    Re: How can I connect to SFTP using Nautilus (Files)

    Quote Originally Posted by scorp123 View Post
    Typing in a ssh:// path in the location bar does not work??
    Code:
    ssh://remoteuser@remoteserver:Port
    I only have SFTP access, not SSH access.

    I've tried it, and it gives the same response.
    Last edited by Paddy Landau; July 30th, 2021 at 11:37 AM. Reason: More information
    Always make regular backups of your data (and test them).
    Visit Full Circle Magazine for beginners and seasoned Linux enthusiasts.

  6. #6
    Join Date
    Mar 2011
    Location
    U.K.
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: How can I connect to SFTP using Nautilus (Files)

    I confess that I do not often use Nautilus. Prefer Krusader with UserActions (plugins).
    However. Can you perhaps try a toolchain? Nautilus > Thunar .. or Thunar directly.
    From Nautilus select folder then > Right click > Open With Other Application > Thunar

    I found from reading threads that I needed these packages to be installed (use Synaptic Package Manager) .

    gigolo
    gvfs
    gvfs-backends
    gvfs-bin
    gvfs-common
    gvfs-daemons
    gvfs-fuse
    gvfs-libs

    Now refer here ...

    https://askubuntu.com/questions/7042...nar-in-xubuntu

  7. #7
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    5,261
    Distro
    Ubuntu

    Re: How can I connect to SFTP using Nautilus (Files)

    Quote Originally Posted by dragonfly41 View Post
    Can you perhaps try a toolchain? Nautilus > Thunar .. or Thunar directly.
    Thanks, but I'd rather stick to Nautilus is possible. Constantly switching between two different file managers will be confusing.

    All the gvfs packages are already installed, but not gigolo (what an odd name to use!). I installed it, and restarted Gnome and Nautilus, but it made no difference.
    Always make regular backups of your data (and test them).
    Visit Full Circle Magazine for beginners and seasoned Linux enthusiasts.

  8. #8
    Join Date
    Mar 2011
    Location
    U.K.
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: How can I connect to SFTP using Nautilus (Files)

    https://forum.xfce.org/viewtopic.php?id=9779

    "Gigolo is useful front-end for helping you manage the connections, but thunar is capable of mounting them manually if needed".

    Gigolo only applies to Thunar usage.

    If you wish to stick with only Nautilus then another path to explore is pyextensions.

    https://www.giuspen.com/nautilus-pyextensions/

    http://www.giuspen.com/software/naut....4.1-1_all.deb

    Install with GDebi.

    [P.S.]

    Package python-nautilus needs to be installed to support extensions.

    ...

    I really find toolchains to be very useful for productivity. I don't mind using several apps in a toolchain.
    It is like a pipeline. You could link Nautilus front end to FileZilla (which you use). Or PuTTY. Or gnome-terminal.
    Last edited by dragonfly41; July 30th, 2021 at 12:15 PM.

  9. #9
    Join Date
    May 2006
    Location
    Switzerland
    Beans
    2,907
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: How can I connect to SFTP using Nautilus (Files)

    Quote Originally Posted by Paddy Landau View Post
    get the response, "Unable to access location. Permission denied."
    But if you access the same place via the "sftp" command line client ... that does work?
    Code:
    sftp -P PortNr youruser@remoteserver:/path/to/location
    Does that work and immediately take you where you wanted to go? Or do you also run into some kind of error?
    Last edited by scorp123; July 30th, 2021 at 12:14 PM. Reason: Parameter for port number added

  10. #10
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    5,261
    Distro
    Ubuntu

    Re: How can I connect to SFTP using Nautilus (Files)

    Quote Originally Posted by dragonfly41 View Post
    If you wish to stick with only Nautilus then another path to explore is pyextensions.
    This is getting complicated! I'll see if I can get that to work.
    Quote Originally Posted by scorp123 View Post
    … if you access the same place via the "sftp" command line client ... that does work?
    Great question!

    I tried:
    sftp [user]@[domain]:[port]/

    It just sits there doing nothing! I can't see how to pass the keyfile to it anyway.

    Reading the sftp manual, it says that details are passed to ssh. This confuses me, because I have only SFTP access and not SSH access — I checked with my host's support team, and they explicitly said so.

    I wish that I understood the technical background better, because from what I understand SFTP means FTP over SSH, and yet I don't have SSH access, but FileZilla can connect! I know that I can't connect via SSH, because I've tried.
    Always make regular backups of your data (and test them).
    Visit Full Circle Magazine for beginners and seasoned Linux enthusiasts.

Page 1 of 6 123 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •