0

I am able to mount a Samba share in Ubuntu's graphical desktop with "connect to server". This allows me to use that share with desktop applications.

I'd also like to access the share from the command line, but haven't seen a corresponding entry reported by mount.

How can I (mount and) access the Samba share from the command line?

4
  • Nothing showing up in /mnt? Or where are the files, according to the file explorer?
    – xenoid
    Aug 4, 2017 at 8:06
  • @xenoid It says that files are at `sftp://myaccount@myserver/mypath".
    – Drux
    Aug 4, 2017 at 16:00
  • 1
    Then you aren't accessing them via Samba, but using SFTP, which AFAIK has nothing to do with Samba but everything to do with SSH. So, see this and this (btw, for Ubuntu questions, AskUbuntu is a better SE site that SuperUser)
    – xenoid
    Aug 4, 2017 at 17:09
  • @xenoid Many thanks for those links. If you want to turn your comment into an answer, I shall accept it.
    – Drux
    Aug 5, 2017 at 14:36

1 Answer 1

0

If your files show as sftp://myaccount@myserver/mypath in the explorer, then you aren't accessing them via Samba, but using SFTP, which AFAIK has nothing to do with Samba but everything to do with SSH.

When your Samba share is adequately mounted, the files should appear somewhere under your /run directory.

Btw, for Ubuntu questions, AskUbuntu is a better SE site than SuperUser.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.