@@ -40,12 +40,6 @@ function reuseSSHKey(){
|
||||
ssh-keygen -y -f $keyfile -P "" || true # will fail in the end, so script will continue and clean up the mess
|
||||
}
|
||||
|
||||
|
||||
root=/data/$dir_prefix-$read_project_name
|
||||
# start generating config
|
||||
mkdir -p $root/config
|
||||
createConfigFile $root/config/cloner.cfg
|
||||
|
||||
# use ssh config?
|
||||
echo -n "Would you like to use SSH auth? ([C]reate new key/[U]se existing key/[N]o) [C/u/n]: "
|
||||
read read_ssh
|
||||
|
||||
Reference in New Issue
Block a user