is there a simple way to verify file hash when uploading via SCP? I need a bash shell script, because the upload will be done automatically by cron. I use this command:
scp backup.tar.gz firstname.lastname@example.org:/home/matoha/backup/backup.tar.gz
I searched on the web and I have also looked in scp manual, but found nothing. Thanks!