Security

Hiding Passwords in Scripts

Sometimes you need to pass a password or even just a string on the command line which you would rather obscure.  For example: serverControl.sh -u admin -p $MYPASS -c shutdown Note anything below is not the ideal way of dealing with passwords you should probably use SSH keys if possible…