Download from SSH w/ md5sum Verification
This script allows you to download a file from a remote SSH server and verify the md5sum to ensure no corruption during transfer. Feel free to use it as is or modify it to your liking.
Copy the code into your favorite text editor (e.g. nano).
You first need to define the server you wish to use, modify the server variable to your liking. (e.g.)
Save your file and place it in a directory that is easily accessible. I currently have mine placed in the bin folder in my home directory. You can also place it in the /usr/bin directory if you like. Ensure you save the script with UTF-8 encoding.
Make the script executable by running the following command in terminal, with the correct path to the script.
chmod +x [path to file]