The easiest way . That is, if you already have the SSH server setup in the Linux package (super simple setup), you need to use an SCP client, such as CyberDuck . When connecting, be sure to select SFTP (SSH File Transfer Protocol), and then use your credentials to log into Linux.
Preferred method : Install the Samba share in the Linux box and connect to this resource with a Mac using the Go option β βConnect to Serverβ in the OSX file menu. In the "Website" field, enter smb: // [Linux box IP] / [Share name] /.
Now, none of these methods will work on another network (remotely) until you open a Linux window to the outside world, using something in accordance with the dynamic DNS setting and setting up your router to transfer ports to your box.
source share