Page 4 of 6 FirstFirst ... 23456 LastLast
Results 31 to 40 of 57

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

  1. #31
    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)

    My idea was a blind alley following this old thread.

    Your proxy mode is 'none'. If it had been set to 'auto' we might have pursued it further.

  2. #32
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    5,263
    Distro
    Ubuntu

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

    Quote Originally Posted by dragonfly41 View Post
    My idea was a blind alley following this old thread.

    Your proxy mode is 'none'. If it had been set to 'auto' we might have pursued it further.
    Well, thank you for your attempts. I do appreciate your time and effort.

    I hope that someone else has an idea.
    Always make regular backups of your data (and test them).
    Visit Full Circle Magazine for beginners and seasoned Linux enthusiasts.

  3. #33
    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)

    If I were in your shoes I would jump out of this alligator pit and try Nautilus in a newly created guest user account to test if the same problems arise. Or even in Ubuntu in a fresh virtual machine in VirtualBox.

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

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

    Quote Originally Posted by dragonfly41 View Post
    If I were in your shoes I would jump out of this alligator pit and try Nautilus in a newly created guest user account to test if the same problems arise. Or even in Ubuntu in a fresh virtual machine in VirtualBox.
    Good idea!

    I created a brand new user, and copied across just the private key and config.

    It's the same. I can access the remote server with sftp, but Nautilus still complains, "Could not display sg (sftp). The file is of an unknown type."
    Always make regular backups of your data (and test them).
    Visit Full Circle Magazine for beginners and seasoned Linux enthusiasts.

  5. #35
    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)

    Another user with same problem .. but no answer ..

    https://askubuntu.com/questions/1251...nsions-on-sftp

    Another reference ..

    https://linuxize.com/post/how-to-use...ransfer-files/

    I would just use PuTTY client until this is solved. Law of diminishing returns applies.

  6. #36
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    5,263
    Distro
    Ubuntu

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

    Quote Originally Posted by dragonfly41 View Post
    Another user with same problem .. but no answer ..
    Well spotted! I didn't find that in my searches. It seems that that person can connect, and only gets this error when accessing specific files. Whereas I get that error regardless when trying to connect in the first place.
    Quote Originally Posted by dragonfly41 View Post
    Another reference ..
    Thanks. That's for CLI commands. I've managed to make the CLI commands work. It's only Nautilus that's giving me problems!
    Quote Originally Posted by dragonfly41 View Post
    I would just use PuTTY client until this is solved. Law of diminishing returns applies.
    Well, I have FileZilla. I'll use that until I can get Nautilus to work. FileZilla is an excellent app, which usually does everything that I need, but for this specific host, Nautilus would be more convenient because of the workflow.
    Always make regular backups of your data (and test them).
    Visit Full Circle Magazine for beginners and seasoned Linux enthusiasts.

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

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

    Quote Originally Posted by dragonfly41 View Post
    Another user with same problem .. but no answer ..
    Actually, this link has proven useful. Comparing to other servers from the same host…

    I can use the other servers without a problem from Nautilus. However, to access them, I need to give the correct starting directory, /home/[name]. E.g.
    sftp://exa/home/mystart

    But, the one that's giving me problems uses a virtual disk. The top-level directories within that virtual disk are directories from other servers (plural). I think that when Nautilus attempts to connect, it gets confused and fails.

    It may be that this specific server just can't be used with Nautilus?
    Always make regular backups of your data (and test them).
    Visit Full Circle Magazine for beginners and seasoned Linux enthusiasts.

  8. #38
    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)

    Do you have write permissions on that server?

  9. #39
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    5,263
    Distro
    Ubuntu

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

    Quote Originally Posted by dragonfly41 View Post
    Do you have write permissions on that server?
    Yes, I do. I can create, delete and modify files in it.

    But.

    Now that you mention it, in all of its subdirectories, yes, but not in the "root" (home).

    That shouldn't make a difference, though, because I can still access the server through sftp or FileZilla, right? Nautilus must be accessing the server somehow differently from sftp and FileZilla.
    Always make regular backups of your data (and test them).
    Visit Full Circle Magazine for beginners and seasoned Linux enthusiasts.

  10. #40
    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)

    Try this guide

    And a further thought.

    You wrote "I've managed to make the CLI commands work. It's only Nautilus that's giving me problems!"

    Can you open terminal from within Nautilus (right click on folder, Open terminal here) and then apply terminal commands?
    Last edited by dragonfly41; August 1st, 2021 at 04:53 PM. Reason: added new idea

Page 4 of 6 FirstFirst ... 23456 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
  •