I've copied .gnupg from machine A to B. Now on the machine B gpg --list-keys lists my key but gpg --list-secret-key won't unlike on machine A.

1 Answer 1


You should do export and import

gpg --export-secret-keys <keyid> > my.key
scp my.key remote:~/
# on remote
gpg --import my.key
gpg --list-secret

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .