Linux Tips
SSH Config
To allow/block password auth
vi /etc/ssh/sshd_config
...
PasswordAuthentication no
File Renaming
Replace all spaces with underscore
find . -depth -exec rename 'y/ /_/' ./* {} +
Replace all uppercase with lowercase
find . -depth -exec rename 'y/A-Z/a-z/' ./* {} +
Recursively find and replace in files
find -name '*.md' -exec sed -i 's/foo/bar/g' {} +
Ansible
SSHpass install on mac
brew install hudochenkov/sshpass/sshpass