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