Sharing files between Mac OS and Linux systems

I'm interested in accessing files on a Mac OS machine over the network from a Linux host. They're both my laptops, and currently on the same network, but this is not always the case (i.e., doing this over the Internet may be desirable at some point). I read a while ago that Apple was moving to SMB for file system access. Is this what I should be looking at? Are secure authentication and encryption supported? Or should I be considering sshfs or NFSv4, or something else? There's no LDAP infrastructure in my home environment. With thanks and regards, Jason.

Hi, sshfs / scp - direct when local - ssh via locked down tor onion service when not, perhaps On 27/4/20 6:01 am, Jason White via luv-main wrote:
I'm interested in accessing files on a Mac OS machine over the network from a Linux host.
They're both my laptops, and currently on the same network, but this is not always the case (i.e., doing this over the Internet may be desirable at some point).
I read a while ago that Apple was moving to SMB for file system access. Is this what I should be looking at? Are secure authentication and encryption supported? Or should I be considering sshfs or NFSv4, or something else? There's no LDAP infrastructure in my home environment.
With thanks and regards,
Jason.
_______________________________________________ luv-main mailing list luv-main@luv.asn.au https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main
-- Andrew McGlashan IT Support & Broadband Solutions

Hi, You could set up samba on your linux computer and then you can access it from your Mac. Of the opposite way to use smbfs to mount a Mac share from your linux computer. If it is just the occasional file then as Andrew said you can use ssh. Remember if you want to access your Mac from your linux computer you will need to enable these functions via Sharing in the system preferences. Gordon.
On 27 Apr 2020, at 6:01 am, Jason White via luv-main <luv-main@luv.asn.au> wrote:
I'm interested in accessing files on a Mac OS machine over the network from a Linux host.
They're both my laptops, and currently on the same network, but this is not always the case (i.e., doing this over the Internet may be desirable at some point).
I read a while ago that Apple was moving to SMB for file system access. Is this what I should be looking at? Are secure authentication and encryption supported? Or should I be considering sshfs or NFSv4, or something else? There's no LDAP infrastructure in my home environment.
With thanks and regards,
Jason.
_______________________________________________ luv-main mailing list luv-main@luv.asn.au https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main

On Monday, 27 April 2020 9:46:43 AM AEST Gordon Heydon via luv-main wrote:
Hi,
You could set up samba on your linux computer and then you can access it from your Mac.
Of the opposite way to use smbfs to mount a Mac share from your linux computer.
If it is just the occasional file then as Andrew said you can use ssh.
Remember if you want to access your Mac from your linux computer you will need to enable these functions via Sharing in the system preferences.
https://www.digitalocean.com/community/tutorials/how-to-use-sshfs-to-mount-r... I haven't tried this, but the concept seems good. SMB over the Internet is generally a bad idea. -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/

On 27-04-2020 11:42, Russell Coker via luv-main wrote:
On Monday, 27 April 2020 9:46:43 AM AEST Gordon Heydon via luv-main wrote:
Hi,
You could set up samba on your linux computer and then you can access it from your Mac.
Of the opposite way to use smbfs to mount a Mac share from your linux computer.
If it is just the occasional file then as Andrew said you can use ssh.
Remember if you want to access your Mac from your linux computer you will need to enable these functions via Sharing in the system preferences.
https://www.digitalocean.com/community/tutorials/how-to-use-sshfs-to-mount-r...
I haven't tried this, but the concept seems good.
SMB over the Internet is generally a bad idea.
This can work OK - but I have had poor performance before with this. So Ok for one off I guess Daniel -- Daniel Jitnah GreenwareIT +61 0413 082 049

On 27/04/2020 06.01, Jason White via luv-main wrote:
I'm interested in accessing files on a Mac OS machine over the network from a Linux host.
They're both my laptops, and currently on the same network, but this is not always the case (i.e., doing this over the Internet may be desirable at some point).
I read a while ago that Apple was moving to SMB for file system access. Is this what I should be looking at? Are secure authentication and encryption supported? Or should I be considering sshfs or NFSv4, or something else? There's no LDAP infrastructure in my home environment.
I used to this at work where my Linux desktop would mount a secondary Mac computer. I initially used sshfs which worked quite well. At some point I ended up changing to SMB/CIFS which provided a very slight but noticeable performance increase. Apple used to use Samba but wrote their own SMB/CIFS server and client after Samba moved to the GPL V3. I think the replacement is called smbx but from what I recall mounting it was almost identical to mounting a Samba server. I didn't pay much attention to authentication and encryption as I was only ever connecting from inside trusted networks. NFS is an option on Macs but I never tried it. Cheers Geoff
With thanks and regards,
Jason.
_______________________________________________ luv-main mailing list luv-main@luv.asn.au https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main

Thank you - these observations have helped considerably. On 4/27/20 12:44 AM, Geoff D'Arcy wrote:
On 27/04/2020 06.01, Jason White via luv-main wrote:
I'm interested in accessing files on a Mac OS machine over the network from a Linux host.
They're both my laptops, and currently on the same network, but this is not always the case (i.e., doing this over the Internet may be desirable at some point).
I read a while ago that Apple was moving to SMB for file system access. Is this what I should be looking at? Are secure authentication and encryption supported? Or should I be considering sshfs or NFSv4, or something else? There's no LDAP infrastructure in my home environment.
I used to this at work where my Linux desktop would mount a secondary Mac computer. I initially used sshfs which worked quite well. At some point I ended up changing to SMB/CIFS which provided a very slight but noticeable performance increase.
Apple used to use Samba but wrote their own SMB/CIFS server and client after Samba moved to the GPL V3. I think the replacement is called smbx but from what I recall mounting it was almost identical to mounting a Samba server.
I didn't pay much attention to authentication and encryption as I was only ever connecting from inside trusted networks.
NFS is an option on Macs but I never tried it.
Cheers Geoff
With thanks and regards,
Jason.
_______________________________________________ luv-main mailing list luv-main@luv.asn.au https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main
participants (6)
-
Andrew McGlashan
-
Daniel Jitnah
-
Geoff D'Arcy
-
Gordon Heydon
-
Jason White
-
Russell Coker