Tutorials online say to use the option --keyserver, like this:
gpg --send-keys <keyID> --keyserver 'hkp://keyserver.ubuntu.com:11371'
but gpg doesn't recognise the option --keyserver. What am I doing wrong?
|
Tutorials online say to use the option
but |
||||
| show 1 more comment |
|
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,
|
||||
|
|
<keyID>that isn't visible because was interpreted as an HTML tag. I suggested an edit to correct this. – Kanvuanza Sep 30 '12 at 0:41gpg --keyserver 'hkp://keyserver.ubuntu.com:11371' --send-keys <keyid>*- I would not intermix switches and values – Serge Sep 30 '12 at 1:02