Tutorials online say to use the option
--keyserver, like this:
gpg --send-keys <keyID> --keyserver 'hkp://keyserver.ubuntu.com:11371'
gpg doesn't recognise the option
--keyserver. What am I doing wrong?
GPG's command-line parsing is a bit odd:
The correct order is options, then the command, then the command's arguments, so you should do:
It looks like GPG will let you get away with putting the command before the options, so you can also do:
But the command's arguments (in this case,