mirror of
https://github.com/donaldzou/WGDashboard
synced 2025-02-26 05:58:47 +00:00
7 lines
202 B
Bash
7 lines
202 B
Bash
for ((i = 0 ; i<$1 ; i++ ))
|
|
do
|
|
privateKey=$(wg genkey)
|
|
presharedKey=$(wg genkey)
|
|
publicKey=$(wg pubkey <<< "$privateKey")
|
|
echo "$privateKey,$publicKey,$presharedKey"
|
|
done |