view workers/bin/setupTemplate.sh @ 30:9275e2a8b5e2

hacking to get id into wbash.sh, maybe buggy?
author Henry S. Thompson <ht@markup.co.uk>
date Mon, 19 Nov 2018 18:32:30 +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