Preconditions
GPG can recognize Yubikeys
gpg --card-status
Move GPG key into Yubikeys
Starting editing key.
gpg --edit-key <key-id>
Starting editing private key.
toggle
Moving the signature key and the encryption key into smartcards(Yubikeys).
keytocard
Selecting the anthentication key.
key 2
Moving the anthentication key into smartcards(Yubikeys).
keytocard
Postconditions
gpg --list-secret-keys
Card serial no. = xxxx xxxxxxxx
is shown.