Install nmap if you don't already have it on your Linux computer. Run "sudo apt-get install nmap" on Ubuntu, or "sudo dnf ...
If you're looking to sync your folders and files to a cloud storage account, you'll find plenty of options in Linux.
If you use SSH on your MacOS device, then you should know there is a built-in SSH connection manager that is easy to call up and use.