view workers/bin/setupTemplate.sh @ 24:b4e3beb2227e

improved error handling, does totalling now too
author Henry S. Thompson <ht@markup.co.uk>
date Wed, 07 Nov 2018 14:15:56 +0000
parents 580221a17890
children
line wrap: on
line source

#!/bin/bash
sudo adduser --disabled-password --GECOS "CC worker" cc
sudo su cc
cd ~cc
ssh-keygen -P "" -q -t rsa -f /home/cc/.ssh/id_rsa