initial commit
This commit is contained in:
10
controller/scripts/gen_keys.sh
Executable file
10
controller/scripts/gen_keys.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
TEAM_NUM=${TEAM_NUM:=10}
|
||||
|
||||
for (( i=1; i<=TEAM_NUM; i++ )); do
|
||||
if [[ ! -e "${HOME}/.ssh/team-${i}" ]]; then
|
||||
ssh-keygen -q -t ed25519 -N '' -f "${HOME}/.ssh/team-${i}" -C "team${i}"
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user