cat .ssh/config

Match host github.com exec"[ $(git config user.email) = xxx@mail.xxx ]"
    IdentityFile ~/.ssh/perso_rsa

Host github.com
    IdentityFile ~/.ssh/pro_rsa
    
Host github.com
    IdentityFile /Users/chaobang/key/xxx.key
    ProxyCommand nc -X 5 -x 127.0.0.1:10810 %h %p    

Host 10.48.8.5,10.52.0.16
    IdentityFile /Users/chaobang/key/aaa.key

参见man ssh_config