view workers/bin/setupTemplate.sh @ 59:8332faef25e1

get quoting and arg positions right
author Henry S. Thompson <ht@markup.co.uk>
date Thu, 28 May 2020 09:58:38 +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