I learned most of what I know about bash from The Linux Command Line by William Shotts.
Find something by name and ignore a directory.
find . -path ./ignoreDir -prune -o -name "findName" -print
- https://stackoverflow.com/a/4210072/1108891
Use ssh to run a local script with arguments on a remote host.
ssh user@host -i rsa_private_key 'bash -s arg01 arg02' < some_script.sh
- https://stackoverflow.com/a/2732991/1108891
Add a key to the ssh agent.
eval $(ssh-agent -s)
ssh-add /tmp/id_rsa_evidently