Transfer that public key to the computer from which you use your GPG key, and then import it with:
Transfer that public key to the computer from which you use your GPG key, and then import it with:
```console
```console
$gpg --importpubkey.gpg
$gpg --importgpg-0x*.asc
```
```
This will extend the validity of your GPG key and will allow you to use it for SSH authorization. Note that you do _not_ need to update the SSH public key located on remote servers.
This will extend the validity of your GPG key and will allow you to use it for SSH authorization. Note that you do _not_ need to update the SSH public key located on remote servers.
...
@@ -1950,7 +1950,7 @@ $ sudo mkdir /mnt/public
...
@@ -1950,7 +1950,7 @@ $ sudo mkdir /mnt/public
$sudo mount /dev/mmcblk0p2 /mnt/public
$sudo mount /dev/mmcblk0p2 /mnt/public
$gpg --armor--export$KEYID | sudo tee /mnt/public/$KEYID-$(date +%F).txt
$gpg --armor--export$KEYID | sudo tee /mnt/public/$KEYID-$(date +%F).asc
$sudo umount /mnt/public
$sudo umount /mnt/public
```
```
...
@@ -1970,13 +1970,13 @@ After having completed the environment setup, it is possible to follow any of th
...
@@ -1970,13 +1970,13 @@ After having completed the environment setup, it is possible to follow any of th
At this point the public key can be exported:
At this point the public key can be exported:
```console
```console
$gpg --export$KEYID> pubkey.gpg
$gpg --export$KEYID> pubkey.asc
```
```
The public key can now be transferred to the computer where the GPG key is used and it is imported with:
The public key can now be transferred to the computer where the GPG key is used and it is imported with:
```console
```console
$gpg --import pubkey.gpg
$gpg --import pubkey.asc
```
```
N.B.: The `showpref` command can be issued to ensure that the notions were correctly added.
N.B.: The `showpref` command can be issued to ensure that the notions were correctly added.