Keyserver name command

David Shaw dshaw at
Fri Nov 9 22:22:00 CET 2007

On Fri, Nov 09, 2007 at 08:20:18PM +0000, Bob Henson wrote:
> Two of my keys have keyserver names built in by using PGP's simple key
> editing UI. I haven't got  PGP installed now, and wanted to change the
> keyserver using "gpg --keyserver name", as the server in the keys has
> now disappeared or no longer functions. I'd like to either remove it
> altogether and not have a specific preference, or change it to the SKS
> server at (seems to be the best/fastest at the
> moment), but even after reading the man page I'm not sure of the command
> syntax. Do I need a full URL, or will just "" suffice?
> If it needs a full URL, how is the URL for an SKS server constructed?

gpg --edit-key (the-key)
keyserver hkp://
(type your passphrase)

> Would running the command with no parameters at all remove the current name?

gpg --edit-key (the-key)
keyserver none
(type your passphrase)


More information about the Gnupg-users mailing list