I mean, you could set a limit on the archive size of e.g. 100M and only append a hash to the log if smaller … Calculating an md5 on that would be fast, even on an old server
I beg to differ on the speed and reliability of hash calculation. A 5-years-old old shared server with 1000 or more sites on it has serious trouble calculating MD5 sums fast and reliably enough on anything over 5-10Mb. "Fast enough" means under 3 seconds, because the execution time limit you see on old servers is less than 5 seconds and you need to have enough leeway to work around CPU execution time exhaustion by adding extra time at the tail end of each MD5 sum calculation. "Reliably enough" means that if you have a backup archive split in 20 parts you expect to be able to calculate the MD5 sum for all of them without the server throwing instant 500 Internal Server Errors around part 5 because you've exceeded the maximum CPU time allotment. It's complicated.
When I wrote "FTP", of course I meant with an S—before or after … after all, which millennium is it ;)
Judging from the clients we ask to give us connection information I think we're stuck in a wormhole that sends us back circa 20 years :p
Why are you (slightly) against FTPS? Just because of the lack of key authentication or are there other security implications? Sadly, not every (shared) host supports a jailed SSH.
If all clients and servers used TLS 1.2 to implement FTPS I wouldn't be against it. The sad fact is that many implementations resort to known broken encryption methods making the implementation insecure.
Furthermore, I've yet to see a commercial FTPS server with properly signed certificates (instead of self-signed ones). This has trained the users to blindly accept whichever certificate is presented to them which is, of course, worse than not having encryption (false sense of security even though you don't protect against man in the middle attacks).
These are two risk factors largely mitigated by SSH – at least when you use it properly. On top of that, SFTP is at least an order of magnitude faster than FTPS in copying large amounts of smaller files since it doesn't need to authenticate and create new data ports all the freaking time and it being an inherently faster protocol anyway.
Finally, SSH can be configured to not allow username/password authentication, making brute force attacks impractical under current technology and in the foreseeable future. I personally consider this the most important reason to only ever use SFTP.
And yes, I would never connect to a server from a machine I don't (more or less) control (e.g. never from any Windows or Mac).
As Obi Wan Kenobi put it "Only a Sith deals in absolutes" :D
Linux is not any more immune to malware and viruses than Mac OS X. Furthermore, just because it's Linux it doesn't mean it doesn't come with spyware (see Ubuntu Linux and enabling Amazon search by default in a way that made it impossible for the average user to disable it, far harder than the
optional data collection only in the technology preview a.k.a. beta versions of Windows 10; Android reporting everything you do and everywhere you go to mama Google; Linux based consumer devices like Amazon Kindle etc spying on you; I could go on forever). Also, having had used Windows for abut 15 years as my main OS and never contracting a virus once, the top priority in keeping your computer safe is having
common sense. Don't open attachments even if the wording of the email you got from a trusted friend is slightly off, don't visit sites with naked ladies, uninstall that sieve of a software called Adobe Flash and think before you click.
If you are wondering, my "main" desktop OS is Mac OS X, I use Linux for my servers –live and test– and I have a backup desktop running Windows, used mostly for developing Admin Tools features that have to do with IIS. My main phone and tablet run iOS but I have a secondary tablet running Android. I am a daily user of all OS. I am not a fanboy, I just use my brain to make informed choices.
Nicholas K. Dionysopoulos
Lead Developer and Director
🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!