I am using an SSH public key to connect to a number of servers. The servers use an SSH CA to manage authorized users. The basic concept is described here: https://www.digitalocean.com/community/tutorials/how-to-create-an-ssh-ca-to-validate-hosts-and-clients-with-ubuntu
So next to my usual id_rsa and id_rsa.pub files, I also have an id_rsa-cert.pub file which contains the certificate. All of this works pretty well, I can immediately log in to new machines that are configured to trust the CA key that was used to sign my key.
However, I now got my key signed by a different CA for a different set of machines. The question is now, how can I tell SSH that there are now two certificates for this key. From the documentation there seems to be no way to specify a second certificate file:
ssh(1) will try to load certificate information from the filename
obtained by appending -cert.pub to the path of a specified IdentityFile.
Simply appending the new certificate to this file (like you would do for authorized_keys) does not work either. In that case, SSH will still only recognize the first certificate and ignore the rest of the file.
Does anyone know how to tell SSH that I have a second certificate for this key?