2

After about 6 years of using Ubuntu I am switching for the first time to Mac OS given the remarkable specification of M1 chip.

One of the main use of my Laptop (that ran on Ubuntu) was to connect to a Server also running on Ubuntu.

I guess Mac book would surely allow SSH via terminal as this is a very basic command. What I am not sure if it allows mounting external devices like ubuntu as shown in image below,

enter image description here

In Ubuntu we had Connect To Server feature, which I am not sure but likely used the sftp protocol. This feature would mount the remote server onto my laptop allowing easy browsing and shifting of files.

Will this be possible on the new Mac book Air M1 chip? Ofcourse we could use sftp via terminal, but I look the GUI mounting feature of ubuntu. what will be the closest alternative of 'Connect to Server' feature of Ubuntu for MacOS?

---- EDIT

I found a solution in this YouTube video. Here however it is demonstrated only for connecting to windows and Mac systems. Can this be used to connect to Ubuntu Server also?

5
  • 2
    You mean from command line or from GUI? From the Finder, it's just Cmd/K. tbh, I'm not sure if it supports sftp, I've never tried it. smb is fine.
    – Tetsujin
    May 6 at 10:42
  • 1
  • Might be easier to run a Samba server on Linux side, and connect to that from macOS (unless you need security features only available with sftp).
    – nohillside
    May 6 at 10:52
  • @nohillside I simply want to mount the filesystem of Ubuntu onto my MacOS. Security not that important. May 15 at 4:37
  • 1
    ftp is a file transfer solution. If you want to mount a drive, use smb/Samba.
    – nohillside
    May 15 at 5:30
-1

The service which closely mimics Connect to Server of Ubuntu as shown in the question pic is the sshfs protocol.

Simply do

sshfs [user@]hostname:[directory] mountpoint

where mountpoint is a empty folder location on your MAC OS.

Make sure to install sshfs before executing it.

5
  • Answers should not rely on links. It‘s ok to link to external sources, but please summarize the essential parts in your answer so it doesn’t become worthless if the external page gets removed.
    – nohillside
    Aug 17 at 14:30
  • Yes i am aware of this etiquette. Thus I had given the answer under Simply do heading. The link is just on how to install sshfs. Otherwise the answer is self contained. Installing sshfs is not part of the answer. Aug 23 at 11:08
  • 1
    The instructions given in the linked article don't work, running brew install sshfs leads to sshfs has been disabled because it requires closed-source macFUSE!.
    – nohillside
    Aug 23 at 11:16
  • @nohillside So please mention the correct bug in first place, not a misleading comment like answer not self contained which wasnt the issue. Anyways as newer MAC versions come up, ways to install sshfs and for that matter any app will keep changing but that sshfs is equivalent to Ubuntu connect server will persist. Aug 24 at 11:42
  • 1
    I didn't check whether the instructions in the linked page worked at first, only when I tried to edit your answer to include them). But in order to make this answer more useful: How did you install sshfs on Big Sur? Using sshfs to connect to Ubuntu is kind of obvious, the installation on macOS is the challenging part :-)
    – nohillside
    Aug 24 at 11:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .