NODES="frontend merge signing mergebackup" mkdir privatekeys mkdir publickeys for node in $NODES; do ( cd privatekeys /usr/local/src/catlfish/tools/create-key.sh $node ) mv privatekeys/$node.pem publickeys/ done