You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/utils/gen_vpn_keys.sh

8 lines
125 B
Bash

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