- #Setup shared folder for on linux for mac client how to
- #Setup shared folder for on linux for mac client mac os
#Setup shared folder for on linux for mac client mac os
Tested between Ubuntu 18.04 and Mac OS 10.13: "High Sierra".
This is the lowest common denominator method: most robust, efficient, widely Linux available and security relies on well known file permissions + user schemes. The share stays connected until you eject it or restart your Mac. Multiple directories can be copied in one go as explained at : rsync -av "/full/path/to/remote/directory with space"'. Right click the Finder icon in the dock, and select Connect to Server: Enter nfs:// followed by the computer's hostname (and domain if applicable), and by the name of the shared folder. Then, once you managed to login, to copy files from the server to client just do: rsync -av. Now, from you Ubuntu make sure you can access the Mac: ssh can create a new account for the user if you want to keep your password private. You can enable the MacOS SSH server from the CLI as explained at: sudo systemsetup -setremotelogin on SSH works really easily on MacOS and Ubuntu, and so we can very easily use Rsync.įirst make sure you can SSH from one computer to the other. I'm not sure if this method is fast / robust, but it is one of the simplest to setup and portable. Now you can navigate through directories to the file you want. On the receiving computer, open a browser, and visit: 192.168.0.10:8080 On Ubuntu or Mac OS: ifconfigĬreate a server in a directory that contains the file you want to transfer: python -m SimpleHTTPServer 8080 HTTP is the protocol used to access regular websites, so every OS was forced to implement it!įind your IP on the source computer, e.g. It doesn't get much more transparent than that. IMHO, this method is a lot easier and straight forward to use than FTP because it mounts the remote folder as if it's a local folder on your system. Also, I think you can connect to Samba in OSX under connect-to (or something similar) from the top bar menu but I can't remember exactly what it's called since I haven't used a mac in over 6 years.
#Setup shared folder for on linux for mac client how to
Note: There is a GUI tool for configuring Samba but I can't remember how to access it off the top of my head. Samba is basically Windows NFS (Network File System) that is completely cross platform and easier to setup/use. Here's a really long drawn-out explanation for windows including how to setup the server in *nix. Under the 'Network Places' folder the shared folders should appear.Type '\ipAddress' where 'ipAddress' is your ipaddress.Configure your firewall to allow smb connections if it doesn't already.It should mount the share the same as it mounts anything else.Select the share you're connecting to (as per the samba setup).Type 'smb://ipAddress' where 'ipAddress' is your ipaddress.