Samba allows to share files and printers with other computers remotely, regardless their operating system (linux, windows, Mac, ..). This guide show how to intall and configure the Samba service in a Ubuntu machine and access it through windows and mac.
Set up file sharing on the Mac. On your Mac, choose Apple menu System Preferences, then click Sharing. Open Sharing preferences for me. Select the File Sharing checkbox, then click Options. Select “Share files and folders using SMB.”. In the Windows File Sharing list, select the checkbox next to. The SPN may be incorrect because it's registered for an old server. However in a successful SMB Session Setup request such as in the Windows Server 2008 R2 client case, the client forwards the SPN for the actual server name. If the file server name was resolved through DNS, the SMB client appends the DNS suffix to the user-supplied name. The bug seems specific to non-Apple SMB shares (we see it with Microsoft Server 2012r2), we can’t replicate it with OS X Server SMB shares. Turning on/off Finder previews has no effect. Our machines are not bound to Active Directory.We have confirmed with other institutions that have their clients and server bound to Active Directory and they see the same issue. On your Mac, choose Apple menu System Preferences, then click Sharing. In Finder, select Go and Connect to Server (Command+K) On the Conntect to Server dialog, type in smb:// followed by the name of the computer you wish to connect to The Connect to Server dialog in OS X.
Generate ssh key for mac. You can generate an SSH key pair in Mac OS following these steps: Open up the Terminal by going to Applications Utilities Terminal In the terminal, use the following command to start the key generation. That does nothing at all related to MAC addresses - it you want to use them, you will first have to retrieve it. This will help: Retrieving IP and MAC addresses for a LAN - there is a method there to retrive the current PC MAC address. But - don't waste too much time on this: MAC addresses can be spoofed, a PC will only have a MAC address if it has an active network connector, and most. The standard OpenSSH suite of tools contains the ssh-keygen utility, which is used to generate key pairs. Run it on your local computer to generate a 2048-bit RSA key pair, which is fine for most uses. The utility prompts you to select a location for the keys.
Setting up the Samba File Server on Ubuntu/Linux:
sudo apt-get install samba smbfs