7 lines
125 B
Bash
Executable file
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"
|