ansible/utils/gen_vpn_keys.sh

8 lines
125 B
Bash
Raw Normal View History

2021-04-23 15:12:12 +02:00
#!/usr/bin/sh
PRIVKEY=`wg genkey`
PUBKEY=`echo $PRIVKEY | wg pubkey`
echo "private key $PRIVKEY"
echo "public key $PUBKEY"