Correcting syntax for showing a keypair

When running the command listed on this page, I receive this error:

run show wireguard named-keypairs pubkey KP01

  Invalid command: show wireguard [named-keypairs]

When I instead run the following, the desired output arrives:  run show wireguard keypairs pubkey KP01
This commit is contained in:
Jay Beale 2020-01-18 15:44:21 -08:00 committed by GitHub
parent df79114b9b
commit f6dae4b3ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,7 +94,7 @@ To use a named key on an interface, the option private-key needs to be set.
set interfaces wireguard wg01 private-key KP01
set interfaces wireguard wg02 private-key KP02
The command ``run show wireguard named-keypairs pubkey KP01`` will then show the public key,
The command ``run show wireguard keypairs pubkey KP01`` will then show the public key,
which needs to be shared with the peer.