ansible/utils/gen_vpn_keys.sh
2021-04-23 15:12:12 +02:00

7 lines
125 B
Bash
Executable file

#!/usr/bin/sh
PRIVKEY=`wg genkey`
PUBKEY=`echo $PRIVKEY | wg pubkey`
echo "private key $PRIVKEY"
echo "public key $PUBKEY"