You can instruct ssh to try multiple keys in succession when connecting. Here’s how: create a config file in ssh folder:
1 2 3 4 |
$ cat ~/.ssh/config IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_rsa_old IdentityFile ~/.ssh/id_ed25519 |
If an error…